Re: custom output device

Chris Robinson <[email protected]> Fri, 26 Aug 2011 10:49:36 -0700
Newsgroups gmane.comp.lib.openal
Message-ID <5716614.A9gsrcTKP4@kittycat>
On Friday, August 26, 2011 1:12:48 PM Jesús López Salvador wrote:
> i'm new to openAL, I would like to develop a custom output Device eating
> openAL generated wave data, instead of sending that to the sound card, is
> it possible? do you know of code or information?

Hi.

The version in OpenAL Soft's Git repository has a ALC_SOFTX_loopback_device 
extension, which allows you to open a special loopback device. It behaves 
similarly to a normal device (eg, you can create contexts, sources, load 
buffers, etc) except audio processing only occurs with an explicit render 
call, which writes the specified amount of samples to the specified buffer.

The extension is still in development (hence the SOFTX part of it instead of 
SOFT), and things with it may change, but if you have the Git version you can 
play around with it.

If you're interested in testing it, I can write up a quick sample showuing how 
to use it.

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal