AudioConverter.FillComplexBuffer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[]) |
转换支持非交错和数据包化格式的音频数据。 |
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[], AudioConverterComplexInputData) |
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[])
转换支持非交错和数据包化格式的音频数据。
public AudioToolbox.AudioConverterError FillComplexBuffer (ref int outputDataPacketSize, AudioToolbox.AudioBuffers outputData, AudioToolbox.AudioStreamPacketDescription[] packetDescription);
member this.FillComplexBuffer : * AudioToolbox.AudioBuffers * AudioToolbox.AudioStreamPacketDescription[] -> AudioToolbox.AudioConverterError
参数
- outputDataPacketSize
- Int32
以数据包表示的转换输出数据的容量
- outputData
- AudioBuffers
转换后的输出数据。
- packetDescription
- AudioStreamPacketDescription[]
数据包说明的数组。
返回
注解
调用 InputData 事件以提供转换的输入数据。
适用于
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[], AudioConverterComplexInputData)
public AudioToolbox.AudioConverterError FillComplexBuffer (ref int outputDataPacketSize, AudioToolbox.AudioBuffers outputData, AudioToolbox.AudioStreamPacketDescription[] packetDescription, AudioToolbox.AudioConverterComplexInputData newInputDataHandler);
member this.FillComplexBuffer : * AudioToolbox.AudioBuffers * AudioToolbox.AudioStreamPacketDescription[] * AudioToolbox.AudioConverterComplexInputData -> AudioToolbox.AudioConverterError
参数
- outputDataPacketSize
- Int32
- outputData
- AudioBuffers
- packetDescription
- AudioStreamPacketDescription[]
- newInputDataHandler
- AudioConverterComplexInputData