Commit d2fb2296 authored by Max Kellermann's avatar Max Kellermann

output/PipeWire: call ::SetVolume() in ParamChanged()

This is a lower-level function without some of the clutter of PipeWireOutput::SetVolume() which is not needed in that case.
parent f55bc668
......@@ -656,7 +656,7 @@ PipeWireOutput::ParamChanged([[maybe_unused]] uint32_t id,
{
if (restore_volume) {
restore_volume = false;
SetVolume(volume);
::SetVolume(*stream, channels, volume);
}
#if defined(ENABLE_DSD) && defined(SPA_AUDIO_DSD_FLAG_NONE)
......
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