开发者

MPMusicPlayerController volume increase and decreasing dynamically

I am implementing a musci application in that I need to support playing of 2开发者_StackOverflow audio files at a time. I did it one with MPMusciplayer controller and another one with AVAudioPlayer as per my requirements I need to support 2 different volume levels for both players at a time when they both playing. Is this possible?

Can you guys please help one this?

Thanks in advance Chandra


Use Slider View and Give that slider value to this code will help you.

[[MPMusicPlayerController applicationMusicPlayer] setVolume:slider.value];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜