summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-07-16 11:28:46 +0200
committerLennart Poettering <lennart@poettering.net>2008-07-16 11:28:46 +0200
commit46a35c681f87b540c53d1af380ccfc65b041707f (patch)
treea14bbcbbafa12aff5d35685887b513158896a711 /src/modules
parentff3f43525d0b528d43a0480d596973d07c920580 (diff)
forward process_msg calls to the generic source handler, not the generic sink handler
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index 1890646f..21f2f842 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -514,7 +514,7 @@ static int source_process_msg(pa_msgobject *o, int code, void *data, int64_t off
case PA_SINK_MESSAGE_SET_STATE: {
int r;
- if ((r = pa_sink_process_msg(o, code, data, offset, chunk)) >= 0)
+ if ((r = pa_source_process_msg(o, code, data, offset, chunk)) >= 0)
stream_cork_within_thread(u, u->source->state == PA_SOURCE_SUSPENDED);
return r;