openal soft loopback query
Michael Zucchi <[email protected]> Tue, 07 Feb 2012 19:22:26 +1030
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Hi there, I was playing with the experimental openal loopback stuff in openal-soft HEAD but came across a problem: if I drain the output too fast, the input wont keep up and I get sections of blank space in the output. I'm obviously trying to drain as fast as possible, but not too fast (the output is going to a file or codec). Is there any suggested way to approach this or some intention to provide the needed capability? I presume the obvious one would be to poll and wait on AL_BUFFERS_QUEUED > 0, but then one would need to do this on all active sources (which probably wouldn't be too onerous a task in my scenario). Otherwise I presume i'd need to track this all externally somehow taking into account sample rates and so on? FWIW I'm not doing this for anything in particular at the moment, i'm just experimenting. Cheers, Michael Z _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal