[alsa-devel] Getting a full device list
Takashi Iwai
tiwai at suse.de
Fri May 11 17:13:51 CEST 2007
At Fri, 11 May 2007 13:05:36 +0200,
Nicholas Smethurst wrote:
>
> Jaroslav Kysela wrote:
> > On Fri, 11 May 2007, Nicholas Smethurst wrote:
> >
> >> Is this possible? If not, can we work towards implementing such
> >> functionality?
> >
> > User or system software manager should create a configuration which is
> > suitable for users. You're trying to overload the user settings. Why?
> > Use information returned without any hacks in your application (you may
> > eventually describe in documentation, how users can get more devices).
>
> I'm not sure I understand.
>
> I found the global variable "defaults.namehint.showall" in alsa.conf, which
> lives in /usr/share/alsa/. This is not the sort of place a user should be
> fiddling with. Users don't have the knowledge (or the desire) to manually
> change system configuration files.. us developers should be able to do all we
> need to do via alsa-lib.
You can override the values easily in user configuration, e.g. by
adding the following line to ~/.asoundrc:
defaults.namehist.showall on
To force to override even the variable type, you can add '!' modifier,
defaults.namehist.!showall 1
Takashi
More information about the Alsa-devel
mailing list