mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 19:22:11 +00:00
ao_pipewire: log sample queueing
This allows us to more easily see the datapath from mpv to pipewire. We know how often the callbacks are triggered, how big the buffers are and how much data mpv provides to pipewire.
This commit is contained in:
parent
3624a9d3e6
commit
7eb8f81091
@ -183,6 +183,8 @@ static void on_process(void *userdata)
|
||||
}
|
||||
|
||||
pw_stream_queue_buffer(p->stream, b);
|
||||
|
||||
MP_TRACE(ao, "queued %d of %d samples\n", samples, nframes);
|
||||
}
|
||||
|
||||
static void on_param_changed(void *userdata, uint32_t id, const struct spa_pod *param)
|
||||
|
Loading…
Reference in New Issue
Block a user