mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse-server: update requested for relative seek only
PulseAudio only updates the requested amount of bytes for relative seeks, do the same. See #2680
This commit is contained in:
parent
0d08f41c28
commit
56b03cb3a8
1 changed files with 2 additions and 1 deletions
|
|
@ -166,6 +166,7 @@ static int handle_memblock(struct client *client, struct message *msg)
|
|||
index += diff;
|
||||
filled += diff;
|
||||
stream->write_index += diff;
|
||||
if ((flags & FLAG_SEEKMASK) == SEEK_RELATIVE)
|
||||
stream->requested -= diff;
|
||||
|
||||
if (filled < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue