diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2022-11-25 15:48:49 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-01-24 15:56:56 +0100 |
commit | 495206dd413f4d0b0572032c3b98c887dbb6f982 (patch) | |
tree | 0dc568c7e89216eb1e21e380b6f12cc6c25f20dd | |
parent | 37869fbcd72621eb036d51edb6f327160b98e0bf (diff) | |
download | mpv-495206dd413f4d0b0572032c3b98c887dbb6f982.tar.bz2 mpv-495206dd413f4d0b0572032c3b98c887dbb6f982.tar.xz |
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.
-rw-r--r-- | audio/out/ao_pipewire.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao_pipewire.c b/audio/out/ao_pipewire.c index 420f164ac5..bbdc1de3ca 100644 --- a/audio/out/ao_pipewire.c +++ b/audio/out/ao_pipewire.c @@ -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) |