Re: alsa-lib: snd_device_name_hint() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Oct 2006, Takashi Iwai wrote:

> At Wed, 11 Oct 2006 14:03:48 +0100,
> Martin Habets wrote:
> > 
> > Jaroslav, Takashi,
> > 
> > I'd rather err on being more vebose here. While it is true displaying
> > all of them increases the chance of (mostly newbies) picking the wrong
> > device, but it also avoids people claiming they do not have those devices.
> 
> Please don't jump to conclusion yet.  Whether the default is on or off
> is no big deal, indeed.  We could add a global option to make the
> default on or not, for example.
> 
> The problem is that we're seeing two different things.
> 
> 1. List all devices that are available
> 
>   The list contains every single device defined in the config space.
> You can pick it up and open it but don't know whether it works and
> what is for.  It's suitable for tools like aplay that accepts all
> configs, but can be confusing for GUI programs.
> 
> 2. List devices that are predefined
> 
>   The list contains only devices that are tagged as usable and have
> proper descriptions.  It's suitable for GUI programs, but some
> user-defined definitions or functions may be missing unless you set it
> right.
> 
> So, both are designed for different purposes.  The current design
> doesn't look sufficient for the latter purpose.  For example, below is
> the output of aplay -L on my machine.  If this appears on a selection
> list of a GUI program, you would have no clue what to choose.

I don't think that most of GUI users will have defined own device names in 
~/.asoundrc. So let's concentrate on the standard device list in alsa-lib.

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux