I am using AVAudioPlayer, When i pressed button, the sound is playing but its lazy(or giving me late feedback), How can i play sound with rapid feedback..Thanks
Are you calling prepareToPlay before trying to play the sound? As the method suggests this does all the preparation, meaning subsequent calls to play should be very quick.
If you need even lower latency, you may need to use AVAudioQueues though.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more