From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Standard PCM name? Date: Thu, 13 Jan 2005 14:59:32 +0100 Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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