{
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;
}
}
- 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;
}
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);
}