OutputAudioQueue 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
输出 AudioQueue。
public class OutputAudioQueue : AudioToolbox.AudioQueue
type OutputAudioQueue = class
inherit AudioQueue
- 继承
注解
使用此类播放音频。
通常会创建 OutputAudioQueue 实例,并分配一些用于填充数据的缓冲区。 填充缓冲区后,缓冲区将排队,当 OutputAudioQueue 播放完该缓冲区后,将引发 OutputCompleted 事件。
有关示例程序,请参阅 monotouch-samples 中的 StreamingAudio 示例程序。
构造函数
OutputAudioQueue(AudioStreamBasicDescription) |
创建 OutputAudioQueue。 |
OutputAudioQueue(AudioStreamBasicDescription, CFRunLoop, CFString) |
创建 OutputAudioQueue,指定在哪个上运行循环事件上传递。 |
OutputAudioQueue(AudioStreamBasicDescription, CFRunLoop, String) |
创建 OutputAudioQueue,指定在哪个上运行循环事件上传递。 |
字段
gch |
输出 AudioQueue。 (继承自 AudioQueue) |
handle |
输出 AudioQueue。 (继承自 AudioQueue) |
属性
AudioStreamDescription |
输出 AudioQueue。 (继承自 AudioQueue) |
AudioStreamPacketDescription |
已过时.
音频队列的 AudioStreamBasicDescription。 (继承自 AudioQueue) |
ChannelLayout |
音频队列通道布局。 (继承自 AudioQueue) |
ConverterError |
包含音频队列的编码或解码过程中生成的最新错误。 (继承自 AudioQueue) |
CurrentDevice |
与此音频队列关联的设备的唯一标识符。 (继承自 AudioQueue) |
CurrentLevelMeter |
当前级别计量,在零范围内每个通道一个 (最小) 到一个 (最大) 。 (继承自 AudioQueue) |
CurrentLevelMeterDB |
当前级别计量,每个通道一个分贝。 (继承自 AudioQueue) |
CurrentTime |
返回硬件设备的当前时间。 (继承自 AudioQueue) |
DecodeBufferSizeFrames |
输出 AudioQueue。 (继承自 AudioQueue) |
DeviceChannels |
输出 AudioQueue。 (继承自 AudioQueue) |
EnableLevelMetering |
对音频队列启用级别计量。 (继承自 AudioQueue) |
Handle |
处理指向非托管对象表示形式的 (指针) 。 (继承自 AudioQueue) |
HardwareCodecPolicy |
输出 AudioQueue。 (继承自 AudioQueue) |
IsRunning |
输出 AudioQueue。 (继承自 AudioQueue) |
MagicCookie |
某些格式所需的音频元数据。 (继承自 AudioQueue) |
MaximumOutputPacketSize |
输出 AudioQueue。 (继承自 AudioQueue) |
Pan |
输出 AudioQueue。 (继承自 AudioQueue) |
SampleRate |
输出 AudioQueue。 (继承自 AudioQueue) |
Volume |
卷 (继承自 AudioQueue) |
VolumeRampTime |
输出 AudioQueue。 (继承自 AudioQueue) |
方法
事件
BufferCompleted |
输出 AudioQueue。 |