output/pipewire: update nbytes
after calling PcmSilence()
This was missing in commit 8a243e6e28
This commit is contained in:
parent
8a243e6e28
commit
4ea2ea2a52
@ -438,6 +438,7 @@ PipeWireOutput::Process() noexcept
|
|||||||
|
|
||||||
/* buffer underrun: generate some silence */
|
/* buffer underrun: generate some silence */
|
||||||
PcmSilence({dest, max_size}, sample_format);
|
PcmSilence({dest, max_size}, sample_format);
|
||||||
|
nbytes = max_size;
|
||||||
|
|
||||||
LogWarning(pipewire_output_domain, "Decoder is too slow; playing silence to avoid xrun");
|
LogWarning(pipewire_output_domain, "Decoder is too slow; playing silence to avoid xrun");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user