Re: alsa-lib - name hints - next round

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

 



At Thu, 12 Oct 2006 16:34:30 +0200 (CEST),
Jaroslav Kysela wrote:
> 
> Hi all,
> 
> 	I've commited updated name hint code into ALSA repo. The result of 
> 'aplay -L' on my notebook is:
> 
> default:CARD=Intel
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     Default Audio Device
> front:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     Front speakers
> surround40:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     4.0 Surround output to Front and Rear speakers
> surround41:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Analog
>     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=Intel,DEV=0
>     HDA Intel at 0xc8000000 irq 122, ALC880 Digital {Playback}
>     IEC958 (S/PDIF) Digital Audio Output
> null
>     Discard all samples (playback) or generate zero samples (capture)

Thanks, this looks MUCH better!

As long as I see this output, shortname would be more suitable.
You don't always want to see the port address and irq numbers in the
list.

> 	The behaviour is configurable:
> 
> # put this line to ~/.asoundrc to see all your PCM definitions
> # without hint {} section
> 
> defaults.namehint.!showall on
> 
> # put this line to ~/.asoundrc to see all extended PCM definitions
> # (like hw and plughw)
> 
> defaults.namehint.!extended on

That's good, too.  Thanks.

> 	Also, I suggest to add "plugsurround" and "plugspdif" devices 
> into alsa.conf and move current definitions from basic to extended level.
> Opinions?

Well, the names don't look so obvious for applications.

But above all, we need more discussions about the basic system setup.
For example, in many cases, we want to use dmix for surround or SPDIF,
too.  The introductoin of plugsurround wouldn't solve such an issue.


Takashi

-------------------------------------------------------------------------
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