OpenAl Start/Stop crackle/pop
OpenAl Start/Stop crackle/pop
- Subject: OpenAl Start/Stop crackle/pop
- From: "Stefan Alder" <email@hidden>
- Date: Wed, 7 Jan 2009 13:33:54 -0800
I'm using OpenAl to play a view different looping sounds. On calling alSourceStop, a crackle/pop sound is frequently produced. AlSourceStart then also produces a similar sound.
1) Stop crackle
It seems that alSourceStop causes the sound to stop immediately, sometimes when the waveform amplitude is > 0, in turn causes the crackle. I can understand this, but I'm wondering if anyone can recommend a way to minimize this, i.e. perhaps stopping the sound when the waveform passes through 0?
2) Start crackle
Before calling alSourceStart, the buffers are unqueued from the source, which as far as I can understand should clear the soure queue. But, it seems that some samples are left in the source's queue from the previous playback. Is there anyway to clear these?
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden