Re: Unsetting PCM Definitions

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

 



Arthur W. Green wrote:
> there are a slew of stock PCM definitions set for this hardware that
> I don't want, particularly the surroundXX ones:
> [...]
> These stock definitions not only clutter my device list, but produce
> messy warning notices when running many of my ALSA apps.
> $ listaudevs
> ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
> ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
> ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

These devices do not exist in your list.  This is a bug in PortAudio; it
tries to open a fixed list of device names, and does not suppress error
messages.

> Device	Input	Output	Name
>  0	2	2	HDA Intel PCH: VT1802 Analog (hw:0,0)
>  1	0	8	HDA Intel PCH: HDMI 0 (hw:0,3)
>  2	128	128	sysdefault
>  3	0	2	front
>  4	0	2	surround40
>  5	0	2	surround51
>  6	0	2	surround71
>  7	0	8	hdmi
>  8	0	128	main
>  9	0	2	dmix
> *10	0	128	default
>
> What I'd like to do is UNset the unwanted PCM definitions in
> /etc/asound.conf (i.e., without having to doctor
> /usr/share/alsa/alsa.conf), and I'm not clear on the proper way to do this.

Try something like this:

  pcm.!surround51 = does_not_exist;


Regards,
Clemens

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux