Re: Changing default card using its name

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

 



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@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/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