[Openal] alcGetProcAddress question
Jason Daly
jdaly at ist.ucf.edu
Mon May 14 14:44:51 PDT 2007
Daniel PEACOCK wrote:
>
>
> Hi Chris,
>
> For the Windows platform ... which includes an OpenAL 'router' that routes
> OpenAL calls to any of the OpenAL devices on the system ... the
> alcGetProcAddress function could *definitely* return different function
> addresses for the same alc function for each AL Device. This is because
> the AL device code is likely to reside in a different DLL (e.g ct_oal.dll
> for X-Fi / Audigy cards, wrap_oal.dll for generic cards).
>
> Regarding OpenAL routing ... what would the possibility be of creating
> something similar for the Mac and Linux platforms? Do either of these
> platforms allow multiple AL devices to co-exist? If so, how does that
> work ?
>
I can't speak for Mac, but the SI has multiple backends that can all be
active at the same time, so you could have an ALSA device, an OSS
device, and an ESD device all active at the same time (at least in
theory, I don't know if it's ever been tested). I don't believe you can
currently use multiple devices from the same backend together, but at
least for ALSA, I think you can set up a virtual device consisting of
multiple ALSA devices using the .asoundrc file, and pass that device as
an option to the ALSA backend in the .openalrc file.
--
--"J"
"I'm a castaway stranded in a desolate land,
I can see the footprints in the virtual sand."
--Neil Peart
More information about the Openal
mailing list