mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
forward process_msg calls to the generic source handler, not the generic sink handler
This commit is contained in:
parent
ff3f43525d
commit
46a35c681f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue