开发者

How do i Pause a bundled sound file in iPhone SDK

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜