CMSampleBuffer.CreateReadyWithPacketDescriptions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static CoreMedia.CMSampleBuffer CreateReadyWithPacketDescriptions (CoreMedia.CMBlockBuffer dataBuffer, CoreMedia.CMFormatDescription formatDescription, int samplesCount, CoreMedia.CMTime sampleTimestamp, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, out CoreMedia.CMSampleBufferError error);
static member CreateReadyWithPacketDescriptions : CoreMedia.CMBlockBuffer * CoreMedia.CMFormatDescription * int * CoreMedia.CMTime * AudioToolbox.AudioStreamPacketDescription[] * -> CoreMedia.CMSampleBuffer
参数
- dataBuffer
- CMBlockBuffer
- formatDescription
- CMFormatDescription
- samplesCount
- Int32
- sampleTimestamp
- CMTime
- packetDescriptions
- AudioStreamPacketDescription[]
- error
- CMSampleBufferError