[Pkg-alsa-devel] Bug#365296: alsa-base: Run 'alsactl names' on device add/remove

Elimar Riesebieter riesebie at lxtec.de
Sat Apr 29 09:42:53 UTC 2006


On Sat, 29 Apr 2006 the mental interface of
Sam Morris told:

> Package: alsa-base
> Version: 1.0.11-1
> Severity: wishlist
> 
> While trying to find out what the best/official way for an audio
> application to discover what devices are available on the system, I
> stumbled upen a thread on alsa-devel [0] that states that the
> right way to do this is to call the snd_names_list function, present
> since ALSA 1.0.9.
> 
> This file relies on the existance of /etc/asound.names, which can be
> generated by running 'alsactl names'. I suggest doing this whenever
> an ALSA device is added to or removed from the system, thereby keeping
> the file up to date at all times.
> 
> In case the administrator wants to modify the file, I suggest running
> something like 'alsactl --file=/var/lib/alsa/asound.names' and having
> /etc/asound.names be a symlink to that file; the link can be replaced
> by a regular file if the admin wants to maintain it himself.

Could you please explain what has to be done in alsa-base then? I
can't find a bug there.

Elimar


-- 
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche




More information about the Pkg-alsa-devel mailing list