mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: calculate missing bytes differently
Based on patch from Barnabás Pőcze <pobrn@protonmail.com> Instead of trying to keep track of the missing bytes ourselves, use the simple tlength - avail - requested formula to request more bytes from the client. Fixes #1981
This commit is contained in:
parent
7b1c5cd6dd
commit
982758ffed
4 changed files with 11 additions and 30 deletions
|
|
@ -83,7 +83,6 @@ struct stream {
|
|||
int64_t delay;
|
||||
|
||||
uint32_t last_quantum;
|
||||
int64_t missing;
|
||||
int64_t requested;
|
||||
|
||||
struct sample_spec ss;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue