开发者

Is it possible to use different volume levels for different players (AVAudio Player and MPMusicPlayer) while they are playing simultaneously?

I need to set different volume levels for different players using AVAudio and MPMusic Players, I am playing both players but I do not know how to set different different volumes levels.

Thank you, Madan Moha开发者_开发问答n


Say your avaudioplayer is named theAudio. To control that volume, say [theAudio.volume =//volume here]; Do the same for mpmusicplayercontroller.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜