mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
module-pulse-tunnel: clear ringbuffer on cork
This commit is contained in:
parent
182b3c8798
commit
26db2f1ec9
1 changed files with 1 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ static void cork_stream(struct impl *impl, bool cork)
|
|||
pa_operation_unref(operation);
|
||||
|
||||
spa_ringbuffer_init(&impl->ring);
|
||||
memset(impl->buffer, 0, RINGBUFFER_SIZE);
|
||||
}
|
||||
if (!cork)
|
||||
impl->resync = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue