From cc398d1855a001ec603e31b7bbbcdc0272de3b5b Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Tue, 21 Nov 2000 20:38:50 +0000 Subject: [PATCH] Fixed open default --- amixer/amixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amixer/amixer.c b/amixer/amixer.c index 6213c61..fa0731e 100644 --- a/amixer/amixer.c +++ b/amixer/amixer.c @@ -39,7 +39,7 @@ int quiet = 0; int debugflag = 0; -char *card = "0"; +char *card = "hw:0"; static void error(const char *fmt,...) { @@ -57,7 +57,7 @@ static int help(void) printf("Usage: amixer command\n"); printf("\nAvailable options:\n"); printf(" -h,--help this help\n"); - printf(" -c,--card # use a card number (0-%i) or the card name, default %s\n", snd_cards() - 1, card); + printf(" -c,--card N use a ctl name, default %s\n", card); printf(" -D,--debug debug mode\n"); printf(" -v,--version print version of this program\n"); printf("\nAvailable commands:\n");