mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pulse: clear queued bytes on flush
This commit is contained in:
parent
7c5192bc31
commit
7a50026a2c
1 changed files with 1 additions and 0 deletions
|
|
@ -1568,6 +1568,7 @@ pa_operation* pa_stream_flush(pa_stream *s, pa_stream_success_cb_t cb, void *use
|
|||
b->user_data = NULL;
|
||||
}
|
||||
s->ready_bytes = 0;
|
||||
s->queued_bytes = 0;
|
||||
s->timing_info.write_index = s->timing_info.read_index = 0;
|
||||
s->have_time = false;
|
||||
pa_operation_sync(o);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue