Re: Streaming output?
Jason Daly <[email protected]> Wed, 14 Nov 2012 14:46:16 -0500
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
On 11/14/2012 09:45 AM, [email protected] wrote: > Hullo... > > I've got a few questions about setting OpenAL up for streaming audio output. > > I'm using OpenAL (via JOAL) in a system to replicate the sound of trains > for a model railroad. So far I've gotten the part about having multiple > sources (trains) playing to a single, stationary listener, over the > hardware audio output from the computer. > > What I'd like to do is redirect the audio output to a network stream so > that the listener can pick it up over WiFi and listen to the sound through > his smart-phone's headphones. > > Then I'd like to expand that to multiple listeners, each with his own > context, with each context being streamed independently to a different > user's phone. > > The key part I'm missing is how to create a context(?) that sends the > output audio to a file (or other "soft" path) instead of to the hardware > sound card. > > I seem to recall a fairly recent change/addition to OpenAL to create a > "loopback" device or something similar that would do just that, but for > the life of me I can't find the documentation to try it out. > > Forgive me if I'm mangling the terminology a bit. I hope my question is > clearer than I fear it is. If not, I'll try to explain further. > > Any help would be much appreciated! Hi, Mark, Here's the spec for the OpenAL-Soft loopback extension: http://kcat.strangesoft.net/openal-extensions/SOFT_loopback.txt This lets you read back rendered audio into a buffer, rather than having the rendered audio sent to an audio device. This should get you what you need. --"J" _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal