chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
471f12e
)
only report volume change fail once
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 25 Aug 2007 14:28:54 +0000
(15:28 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 25 Aug 2007 14:28:54 +0000
(15:28 +0100)
lib/mixer.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/mixer.c
b/lib/mixer.c
index b4704b915dcff885a302665f94ec2cb901ca1572..5ef30a2c0f888414be47ffb5d39cdf36c910ef80 100644
(file)
--- a/
lib/mixer.c
+++ b/
lib/mixer.c
@@
-100,7
+100,12
@@
int mixer_channel(const char attribute((unused)) *c) {
int mixer_control(int attribute((unused)) *left,
int attribute((unused)) *right,
int attribute((unused)) set) {
- error(0, "don't know how to set volume on this platform");
+ static int reported;
+
+ if(!reported) {
+ error(0, "don't know how to set volume on this platform");
+ reported = 1;
+ }
return -1;
}
#endif