Click when stopping source
Eric Wing <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
(Resending for the archives because the mail server was down.) On 6/10/10, Mike Phuycharoen <[email protected]> wrote: > When I'm stopping a source with alSourceStop before the end of a sample, I > can hear a clicking sound. Is there a way to seamlessly swap a buffer > attached to a source? I'm hitting a limit on sources and at some point I > have to reuse them, sometimes I'm forced to take the oldest source and use > it to play a new sample, and I cannot do it without this clicking sound. I don' t believe you can swap a buffer as you describe. Buffer queuing is probably the closest to what you describe, but that probably won't give you the result you intend if you think it through. As a work-around, maybe you could try setting the source gain to 0 before stopping the playing source. -Eric _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal