[Openal] alcGetProcAddress question

Jason Daly jdaly at ist.ucf.edu
Tue May 15 07:19:59 PDT 2007


Chris Robinson wrote:
> On Monday 14 May 2007 02:44:51 pm you wrote:
>   
>
> The way the OSS and ALSA backend are set, there's no problem with opening 
> multiple devices of the same backend, as long as the card supports it. So if 
> you have a sound card with only one hardware voice, you'll only be able to 
> open up one OSS or ALSA device, unless you're using something like dmix 
> (ALSA's built-in mixer). Though if you have multiple hardware voices, there 
> shouldn't be any problem opening up multiple devices of the same, or 
> different, backends. Other backends may be different, though.. eg. it appears 
> the Darwin backend uses some globals, so I don't think it's a gaurantee (yet, 
> at least).
>   

It sounds like you've looked at this more than me.  How do you go about 
opening multiple ALSA devices (e.g.:  what device specifier to you use 
for alcOpenDevice()? ).


> However, and this is a big however, the SI's mixer code is not designed to 
> handle multiple open devices (same or different). It basically just mixes all 
> sources, then feeds it out to the device of the current context, whichever it 
> happens to be (and if there's no current context, it doesn't feed it out to 
> anything). I'm planning to work on and fix this, though.
>   

Cool!

-- 

--"J"

"I'm a castaway stranded in a desolate land,
 I can see the footprints in the virtual sand."
	--Neil Peart

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20070515/0e358f24/attachment.html


More information about the Openal mailing list