]> code.delx.au - pulseaudio/commitdiff
forward process_msg calls to the generic source handler, not the generic sink handler
authorLennart Poettering <lennart@poettering.net>
Wed, 16 Jul 2008 09:28:46 +0000 (11:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 16 Jul 2008 09:28:46 +0000 (11:28 +0200)
src/modules/module-tunnel.c

index 1890646f17418eeade93a90dbe036a9e3a9ac95c..21f2f842af91c270696ef605033e8e6058e6c0c3 100644 (file)
@@ -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;