summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pulse/pulse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pulse/pulse.c b/pulse/pulse.c
index f91d0e7..7bf0c7a 100644
--- a/pulse/pulse.c
+++ b/pulse/pulse.c
@@ -272,9 +272,10 @@ int pulse_connect(snd_pulse_t * p, const char *server)
void pulse_poll_activate(snd_pulse_t * p)
{
+ static const char x = 'x';
assert(p);
- write(p->thread_fd, "a", 1);
+ write(p->thread_fd, &x, 1);
}
void pulse_poll_deactivate(snd_pulse_t * p)