Commit 1063c1f2 authored by Max Kellermann's avatar Max Kellermann

alsa: log period and buffer size

Log the real period and buffer size. This might be useful when debugging xruns. Note that the same information is available in /proc/asound/card*/pcm*p/sub*/hw_params
parent 3e5a4454
...@@ -369,6 +369,9 @@ configure_hw: ...@@ -369,6 +369,9 @@ configure_hw:
if (err < 0) if (err < 0)
goto error; goto error;
g_debug("buffer_size=%u period_size=%u",
(unsigned)alsa_buffer_size, (unsigned)alsa_period_size);
return true; return true;
error: error:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment