Audio Queue Control and State
start(AudioQueueStart)开始录音或者播放队列
Prime(AudioQueuePrime)只对播放有用,在start之前调用,确保有足够可用的数据用于播放;
Stop(AudioQueueStop)重置audio queue,停止录音或者播放,当没有更多的data需要播放时,播放audio queue将会回调这个函数。
Pause(AudioQueuePause)仅仅是暂停,调用START继续
Flush(AudioQueueFlush)在使用最后一个queue时调用,确保所有缓存过的数据;
Reset(AudioQueueReset)Call to immediately silence an audio queue, remove all buffers from previously scheduled use, and reset all decoder and DSP state.
Synchronous stopping happens immediately, without regard for previously buffered audio data.
Asynchronous stopping happens after all queued buffers have been played or recorded.
阅读(4412) | 评论(0) | 转发(0) |