mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulser-server: keep updating missing bytes if prebuf == 0
This commit is contained in:
parent
d37742b410
commit
d1c0244512
1 changed files with 2 additions and 0 deletions
|
|
@ -1570,6 +1570,8 @@ static void stream_process(void *data)
|
||||||
} else {
|
} else {
|
||||||
pd.underrun_for = size;
|
pd.underrun_for = size;
|
||||||
pd.underrun = true;
|
pd.underrun = true;
|
||||||
|
if (stream->attr.prebuf == 0)
|
||||||
|
pd.missing = size;
|
||||||
}
|
}
|
||||||
if (stream->attr.prebuf == 0) {
|
if (stream->attr.prebuf == 0) {
|
||||||
pd.read_index += size;
|
pd.read_index += size;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue