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
精彩评论