[Openal] Sound artifacts/popping when repeatedly playing source

Shane Vitarana shanev at gmail.com
Thu Sep 25 14:37:40 PDT 2008


I experience a clicking sound when repeatedly playing a source after
it has been played once.  It only seems to happen if it is played
before the previous play finishes.  However, I am making sure that the
source is stopped before playing it again.  I have multiple sources in
my app and this only happens for a certain low frequency source.  The
clicking sound is milder if I apply a compression filter to the audio,
although it doesn't entirely go away.

I have tried sampling at 44 kHz, 22 kHz, with 16-bit mono and stereo
channels, using linear PCM encoding.

Anyone experience anything like this? Are there any guidelines on how
sounds are best encoded for OpenAL playback?

Thanks,
Shane

-- 
iPhone Apps: http://crimsonjet.com


More information about the Openal mailing list