mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pulse-server: don't update ringbuffer in underrun
This commit is contained in:
parent
6370d75efd
commit
1ea8282a24
1 changed files with 0 additions and 2 deletions
|
|
@ -1557,8 +1557,6 @@ static void stream_process(void *data)
|
||||||
pd.playing_for = size;
|
pd.playing_for = size;
|
||||||
pd.underrun = true;
|
pd.underrun = true;
|
||||||
}
|
}
|
||||||
pd.read_index += size;
|
|
||||||
spa_ringbuffer_read_update(&stream->ring, pd.read_index);
|
|
||||||
} else {
|
} else {
|
||||||
if (avail > (int32_t)stream->attr.maxlength) {
|
if (avail > (int32_t)stream->attr.maxlength) {
|
||||||
/* overrun, reported by other side, here we skip
|
/* overrun, reported by other side, here we skip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue