summaryrefslogtreecommitdiffstats
path: root/src/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink.c')
-rw-r--r--src/sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sink.c b/src/sink.c
index 53ebb8bf..79bf1778 100644
--- a/src/sink.c
+++ b/src/sink.c
@@ -39,6 +39,7 @@ struct pa_sink* pa_sink_new(struct pa_core *core, const char *name, int fail, co
s->monitor_source = pa_source_new(core, n, 0, spec);
assert(s->monitor_source);
free(n);
+ s->monitor_source->monitor_of = s;
s->volume = PA_VOLUME_NORM;