Commit 4ea2ea2a authored by Max Kellermann's avatar Max Kellermann

output/pipewire: update `nbytes` after calling PcmSilence()

This was missing in commit 8a243e6e
parent 8a243e6e
......@@ -438,6 +438,7 @@ PipeWireOutput::Process() noexcept
/* buffer underrun: generate some silence */
PcmSilence({dest, max_size}, sample_format);
nbytes = max_size;
LogWarning(pipewire_output_domain, "Decoder is too slow; playing silence to avoid xrun");
}
......
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