开发者

How do i Pause a bundled sound file in iPhone SDK

开发者 https://www.devze.com 2022-12-10 05:10 出处:网络
I am开发者_运维问答 now learning on the audio framework of iphone. Just tried to play a sound file and it works fine. Now i need to pause that thing when its playing. How can i do that, Can anyone hel

I am开发者_运维问答 now learning on the audio framework of iphone. Just tried to play a sound file and it works fine. Now i need to pause that thing when its playing. How can i do that, Can anyone help me please.

Thanks in advance, Shibin


It appears that you could use AudioServicesDisposeSystemSoundID(soundID); to just stop the sound if that's all you want to happen..


You may be using Audio Toolbox which won't allow you to stop or pause, or change volume. You have to move up to AVAduioPlayer for pausing or stopping of sounds.

0

精彩评论

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