开发者

how to stop sound, control volume... with AudioToolbox

How i do the following u开发者_JAVA技巧sing the AudioToolbox framework instead of the AVFoundation

playing
stop
setCurrentTime
volume

i implement the SoundEffect class from the BubbleLevel example code and this options don't work.

Thanks!


I believe you are looking for the AudioQueue functionality, it doesn't match the AVFoundations methods exactly, but is similar.

http://developer.apple.com/mac/library/documentation/MusicAudio/Reference/AudioQueueReference/Reference/reference.html

Controlling Audio Queues

* AudioQueueStart
* AudioQueuePrime
* AudioQueueFlush
* AudioQueueStop
* AudioQueuePause
* AudioQueueReset
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜