mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: add some debug
This commit is contained in:
parent
700a22b7f7
commit
cc9fbe4375
1 changed files with 2 additions and 0 deletions
|
|
@ -1249,6 +1249,8 @@ static void stream_process(void *data)
|
||||||
}
|
}
|
||||||
spa_ringbuffer_read_update(&stream->ring, index);
|
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 {
|
} else {
|
||||||
if (avail > (int32_t)stream->attr.maxlength) {
|
if (avail > (int32_t)stream->attr.maxlength) {
|
||||||
uint32_t skip = avail - stream->attr.maxlength;
|
uint32_t skip = avail - stream->attr.maxlength;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue