mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: improve timing
Make writable size more accurate by using the clock. mplayer uses this to check if the clock is advancing. Remove requested_bytes, we can use ready_bytes for the ready bytes and use the queued bytes for playback. Reset after a flush, wait for a new timing update.
This commit is contained in:
parent
e73431d541
commit
bf95887a02
2 changed files with 45 additions and 29 deletions
|
|
@ -400,7 +400,6 @@ struct pa_stream {
|
|||
|
||||
size_t maxsize;
|
||||
size_t maxblock;
|
||||
size_t requested_bytes;
|
||||
|
||||
struct pa_mem *mem; /* current mem for playback */
|
||||
struct spa_list free; /* free to fill */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue