aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-11 14:33:07 -0400
committerDave Reisner <dreisner@archlinux.org>2012-05-11 14:33:07 -0400
commit5e6adb0aa385c943d183936ec841e18bbf54ad6d (patch)
treec935c097ba87e758268d8c4fcda77d309a0e2ad4
parentc12301e9310509c6ed6b04ab6f22ac3783466ef9 (diff)
downloadmirror-ponymix-5e6adb0aa385c943d183936ec841e18bbf54ad6d.tar.gz
mirror-ponymix-5e6adb0aa385c943d183936ec841e18bbf54ad6d.tar.bz2
mirror-ponymix-5e6adb0aa385c943d183936ec841e18bbf54ad6d.zip
fix adding sinks to ll
-rw-r--r--pulsemix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pulsemix.c b/pulsemix.c
index ea9e7d5..efb8b07 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -208,7 +208,7 @@ static void sink_add_cb(pa_context UNUSED *c, const pa_sink_info *i, int eol,
pulse->sink = sink;
else {
s = pulse->sink;
- s->next_sink = sink;
+ sink->next_sink = s;
pulse->sink = sink;
}
}