mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Revert "pulse-server: always ask for more data when underrun"
This reverts commit e1576c53d4.
This is not quite right, it seems to break orca and qemu audio.
See #1900
This commit is contained in:
parent
33f3a987ec
commit
8caab44782
1 changed files with 6 additions and 8 deletions
|
|
@ -1246,9 +1246,8 @@ static void stream_process(void *data)
|
|||
pd.underrun_for = size;
|
||||
pd.underrun = true;
|
||||
}
|
||||
if (!stream->corked) {
|
||||
if (stream->attr.prebuf == 0 && !stream->corked) {
|
||||
pd.missing = size;
|
||||
if (stream->attr.prebuf == 0) {
|
||||
pd.playing_for = size;
|
||||
if (avail > 0) {
|
||||
index += avail;
|
||||
|
|
@ -1256,7 +1255,6 @@ static void stream_process(void *data)
|
|||
}
|
||||
spa_ringbuffer_read_update(&stream->ring, index);
|
||||
}
|
||||
}
|
||||
pw_log_debug("%p: [%s] underrun read:%u avail:%d max:%u",
|
||||
stream, client->name, index, avail, minreq);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue