[alsa-devel] Getting a full device list
Nicholas Smethurst
nick.smethurst at gmail.com
Fri May 11 13:05:36 CEST 2007
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.
I understand that you are suggesting that user applications list what ever
snd_device_name_hint() returns, and then describe in the application
documentation that if the user does not see devices such as hw, they should
manually edit a system configuration file.
Or do you mean that a user application can create its own global
configuration? I didn't know that that was possible.
If this is the case, can I copy the default configuration and turn on
"defaults.namehint.showall" in order that my user application can call have
the full list from snd_device_name_hint()?
Nicholas
More information about the Alsa-devel
mailing list