Re: [linux-audio-user] Multiple sound interfaces, ALSA order detection

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Sat Sep 09 2006 - 00:45:21 EEST

On Fri, 2006-09-08 at 23:35 +0200, Jerome Tuncer wrote:
> Thanks guys!
>
> Juuso, I think that's the kind of workaround I needed.
>
> There are still things I don't really understand with ALSA naming as Lee
> mentions:
>
> Let's take XMMS Alsa output plugin for example. It just asks for a
> device and the list displays exactly:
>
> Périphérique PCM par défaut (default)
> MAudio Delta 66: ICE1712 multi (hw:0,0)
> Intel ICH5: Intel ICH5 (hw:1,0)
> Intel ICH5: Intel ICH5 - IEC1958 (hw:1,4)
>

ALSA has no good device enumeration API and the device naming is
completely undocumented so many applications don't have a good device
list.

> I tried what you said Lee about just providing a name to the driver,
> that is just writing "Intel ICH5" in the textfield and it doesn't seem
> to work (I should I have mentioned I have deleted my /etc/asound.conf
> and restarted the ALSA drivers)...
>

You have to use the name from /proc/asound/cards. Did you try entering
"default:ICH5"?

> How can ALSA refer to a card by just name without me providing the name
> in my /etc/asound.conf?
>
> Sorry for the noob question if it is one (-:
>
> ++
>
>
> Jé
>
>
> Lee Revell a écrit :
> > On Fri, 2006-09-08 at 20:37 +0200, Jerome Tuncer wrote:
> >> What do I have to do so that one order is preserved upon
> >> reboot/re-detection of the interfaces?
> >>
> >
> > With correct applications it should not be necessary to do anything;
> > ALSA supports addressing devices by name. The .asoundrc should nto be
> > needed either - in fact it could cause problems as you have defined the
> > default devices to be hw:x which will bypass dmix.
> >
> > aplay -D default:ICH5 file.wav
> >
> > should play to the Intel card, and
> >
> > aplay -D default:Delta66 file.wav
> >
> > to the Delta66.
> >
> > Lee
> >
> >
> >
>
Received on Sat Sep 9 04:15:02 2006

This archive was generated by hypermail 2.1.8 : Sat Sep 09 2006 - 04:15:02 EEST