diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c index 018e2fd..9292f0a 100644 --- a/alsamixer/alsamixer.c +++ b/alsamixer/alsamixer.c @@ -395,7 +395,8 @@ mixer_abort (ErrType error, { case ERR_OPEN: fprintf (stderr, - PRGNAME ": failed to open mixer %s: %s\n", + PRGNAME ": function %s failed for %s: %s\n", + err_string, card_id, snd_strerror (xerrno)); break; diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c index 47ad61b..3e4b96c 100644 --- a/seq/aconnect/aconnect.c +++ b/seq/aconnect/aconnect.c @@ -350,7 +350,7 @@ int main(int argc, char **argv) } } - if (snd_seq_open(&seq, "hw", SND_SEQ_OPEN_DUPLEX, 0) < 0) { + if (snd_seq_open(&seq, "default", SND_SEQ_OPEN_DUPLEX, 0) < 0) { fprintf(stderr, "can't open sequencer\n"); return 1; } diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c index 50e5c64..17d7b1e 100644 --- a/seq/aseqnet/aseqnet.c +++ b/seq/aseqnet/aseqnet.c @@ -254,7 +254,7 @@ static void init_seq(char *source, char *dest) snd_seq_addr_t addr; int err, counti, counto; - if (snd_seq_open(&handle, "hw", SND_SEQ_OPEN_DUPLEX, 0) < 0) { + if (snd_seq_open(&handle, "default", SND_SEQ_OPEN_DUPLEX, 0) < 0) { perror("snd_seq_open"); exit(1); }