All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Hofman <pavel.hofman@ivitera.com>
To: alsa-devel@alsa-project.org
Subject: Re: Changing default card using its name
Date: Tue, 23 Nov 2010 09:54:48 +0100	[thread overview]
Message-ID: <4CEB8158.6010809@ivitera.com> (raw)
In-Reply-To: <4CE98AB0.4030601@ivitera.com>

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"

does not work either. It may look trivial, but changing the default card
 while preserving the fine-tuned device definitions the for each card in
/usr/share/alsa/pcm/* and /usr/share/alsa/cards/* has been an
unattainable peak for me so far. Neither have I been able to google it
anywhere. IMO there must be a simple way to do this key change.

Thanks a lot for suggestion and hints.

Pavel.

  reply	other threads:[~2010-11-23  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21 21:10 Changing default card using its name Pavel Hofman
2010-11-23  8:54 ` Pavel Hofman [this message]
2010-11-23  9:11   ` Jaroslav Kysela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CEB8158.6010809@ivitera.com \
    --to=pavel.hofman@ivitera.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.