chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automate installation of the CGI at last.
[disorder]
/
disobedience
/
disobedience.c
diff --git
a/disobedience/disobedience.c
b/disobedience/disobedience.c
index 2cab9aa9cd0d3bc1418068ef83ddb666e531d104..d6aa59976c602fd206dd968a7d396e4dc1b35a2d 100644
(file)
--- a/
disobedience/disobedience.c
+++ b/
disobedience/disobedience.c
@@
-312,9
+312,10
@@
static gboolean periodic_fast(gpointer attribute((unused)) data) {
}
last = now;
#endif
}
last = now;
#endif
- if(rtp_supported) {
+ if(rtp_supported
&& mixer_supported(DEFAULT_BACKEND)
) {
int nl, nr;
int nl, nr;
- if(!mixer_control(&nl, &nr, 0) && (nl != volume_l || nr != volume_r)) {
+ if(!mixer_control(DEFAULT_BACKEND, &nl, &nr, 0)
+ && (nl != volume_l || nr != volume_r)) {
volume_l = nl;
volume_r = nr;
volume_update();
volume_l = nl;
volume_r = nr;
volume_update();