All of lore.kernel.org
 help / color / mirror / Atom feed
* Standard PCM name?
@ 2005-01-13 13:59 Takashi Iwai
  2005-01-13 15:43 ` Jaroslav Kysela
  2005-01-14 11:30 ` Martin Habets
  0 siblings, 2 replies; 5+ messages in thread
From: Takashi Iwai @ 2005-01-13 13:59 UTC (permalink / raw)
  To: alsa-devel

Hi,

on alsa-lib 1.0.8, I redefined the "default" PCM so that the
card-specific definition can override.  Together with this change,
I added a feature to pass the card number for this pcm.
i.e.
	aplay -Ddefault:1 foo.wav

will play with the default PCM definition on the second card.

I think this stuff itself, the card-specific default PCM definition,
is nice.  But it (e.g. default:1) won't work always if user overrides
the default pcm via ~/.asoundrc.

So, I'd like to propose a new set of PCM definition.

- "default" doesn't take arguments (e.g. card number) but it defines
  the system default one.  There is only one "default" for a system.

- A new PCM, "std", is defined for each card.  User shouldn't override
  this definition.  When no card-specific definition is provided, it's
  defined as plughw:$CARD,$DEV.

- The default "default" is std:0.

The merit to split "default" and "std" is that std:X should always
work regardless how default PCM is defined.


Any comments?  Better names?


Takashi


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-14 12:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13 13:59 Standard PCM name? Takashi Iwai
2005-01-13 15:43 ` Jaroslav Kysela
2005-01-13 15:48   ` Takashi Iwai
2005-01-14 11:30 ` Martin Habets
2005-01-14 12:06   ` Takashi Iwai

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.