[Openal] OpenAL-Soft & multiple devices on one card
Troy Yee
troystoy at shaw.ca
Thu Feb 26 07:04:06 PST 2009
Thanks for your response Chris. I can't say it was the answer I was
hoping for though! I'm far from expert on ALSA but it strikes me that
different ALSA tools are able to discriminate between the different
devices - are they using something outside of the ALSA API to do that?
T.
On Wed, 2009-02-25 at 20:36 -0800, Chris Robinson wrote:
> On Wednesday 25 February 2009 8:00:37 pm Troy Yee wrote:
> > I want to be able to choose which output of the SB Audigy is used
> > (without changing the default device). When I enumerate the devices the
> > list I get looks like this:
> >
> > Available playback devices:
> > ALSA Software on default
> > ALSA Software on CA0106 [CA0106]
> > ALSA Software on CA0106 [CA0106]
> > ALSA Software on CA0106 [CA0106]
> > ALSA Software on CA0106 [CA0106]
> > ALSA Software on Intel ICH6 [Intel ICH6]
> > ALSA Software on Intel ICH6 [Intel ICH6 - IEC958]
> > OSS Software
> > Wave File Writer
> >
> > As you can see, there are several entries that have the same name. How
> > do I open the 2nd (3rd, ...) one?
>
> Hi, Troy.
>
> Unfortunately in this case, it doesn't look like you can. I don't know why
> ALSA doesn't make sure devices have unique names since they're used for
> identification purposes. I can probably append extra stuff to the string for
> OpenAL Soft 1.7 to make sure they're unique, though it would make already long
> strings (such as the second Intel one) even longer..
>
> Another option may be for OpenAL Soft to use HAL to retrieve the available
> ALSA devices, like Phonon does. That would let a user define their own devices
> in .asoundrc and be picked up automatically. I'd need to look into how that
> works though, as I'm not quite sure how to do it.
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
More information about the Openal
mailing list