AlvaroFranco / AFSoundManager

iOS audio playing (both local and streaming) and recording made easy
MIT License
807 stars 131 forks source link

Controlling the volume? #41

Open djaygit opened 9 years ago

djaygit commented 9 years ago

I'm really stuck here, how do u change the volume with the slider?

Broich commented 9 years ago

How about doing it in the action of the slider's didChangeValue target?

- (IBAction)didChangeVolume:(UISlider *)sender {
    self.playback.player.volume = sender.value;
}

self.playback is of class AFSoundPlayback

pwrj commented 9 years ago

?? Uh?