23 Nov
2010
23 Nov
'10
10:11 a.m.
On Tue, 23 Nov 2010, Pavel Hofman wrote:
Pavel Hofman napsal(a):
Hi,
Please excuse my ignorance but I have not been able to figure out this simple task. Nowadays most PCs have multiple soundcards (onboard plus HDMI, often another PCI card). Order of the cards is not stable. How do I define in /etc/asound.conf another default card using its name and keep the PCMs defined by its corresponding alsa card/pcm config files?
In my case aplay -L:
defaults.ctl.card "CMI8768"
which IMO would have been the simplest solution.
Well, adding the exclamation mark
!defaults.pcm.card "CMI8768"
What about:
defaults.pcm.!card "CMI8768"
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.