Hello,
I've had a great deal of trouble releasing audio. What I am trying to achieve is to hit a button which plays a sound and then hitting the button again and the sound plays again while releasing (muting) the first sound. I can do this with
but the result is a pop when the audio refires.
I first tried this using the AVAudioplayer. now I'm trying to find a way with OpenAL. Any suggestions would be very appreciated.
Thanks,
Nick
I've had a great deal of trouble releasing audio. What I am trying to achieve is to hit a button which plays a sound and then hitting the button again and the sound plays again while releasing (muting) the first sound. I can do this with
Code:
if(theAudio)[theAudio release];
I first tried this using the AVAudioplayer. now I'm trying to find a way with OpenAL. Any suggestions would be very appreciated.
Thanks,
Nick