-->

Is it possible to use different volume levels for

2019-07-09 20:49发布

问题:

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 Mohan

回答1:

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