OSDN Git Service
(root)
/
android-x86
/
external-alsa-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dcb344
)
Fixed alsactl store for the second (and further) card
author
Abramo Bagnara
<abramo@alsa-project.org>
Fri, 24 Dec 1999 10:55:12 +0000
(10:55 +0000)
committer
Abramo Bagnara
<abramo@alsa-project.org>
Fri, 24 Dec 1999 10:55:12 +0000
(10:55 +0000)
alsactl/alsactl.c
patch
|
blob
|
history
diff --git
a/alsactl/alsactl.c
b/alsactl/alsactl.c
index
31b231c
..
44f6f86
100644
(file)
--- a/
alsactl/alsactl.c
+++ b/
alsactl/alsactl.c
@@
-95,7
+95,7
@@
static int store_setup(const char *cardname)
int cardno;
cardno = snd_card_name(cardname);
- if (cardno) {
+ if (cardno
< 0
) {
error("Cannot find soundcard '%s'...", cardname);
return 1;
}