projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d2184
)
lirc: fix logic behind mute buttons
author
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Apr 2009 02:44:27 +0000
(
04:44
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Apr 2009 02:44:27 +0000
(
04:44
+0200)
src/modules/module-lirc.c
patch
|
blob
|
history
diff --git
a/src/modules/module-lirc.c
b/src/modules/module-lirc.c
index
b239160
..
120b26e
100644
(file)
--- a/
src/modules/module-lirc.c
+++ b/
src/modules/module-lirc.c
@@
-148,11
+148,11
@@
static void io_callback(pa_mainloop_api *io, pa_io_event *e, int fd, pa_io_event
break;
case MUTE:
- pa_sink_set_mute(s,
0
);
+ pa_sink_set_mute(s,
TRUE
);
break;
case RESET:
- pa_sink_set_mute(s,
1
);
+ pa_sink_set_mute(s,
FALSE
);
break;
case MUTE_TOGGLE: