mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: leave the draining state
Use pw_stream_set_active() to leave the draining state so that our process methods are called again and we can resume.
This commit is contained in:
parent
90fe579b29
commit
2f3e65c049
1 changed files with 2 additions and 0 deletions
|
|
@ -1306,6 +1306,8 @@ static void stream_drained(void *data)
|
||||||
stream->drain_tag);
|
stream->drain_tag);
|
||||||
reply_simple_ack(stream->client, stream->drain_tag);
|
reply_simple_ack(stream->client, stream->drain_tag);
|
||||||
stream->drain_tag = 0;
|
stream->drain_tag = 0;
|
||||||
|
|
||||||
|
pw_stream_set_active(stream->stream, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue