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.
This commit is contained in:
Max Kellermann 2022-07-08 17:20:33 +02:00
parent f55bc6682f
commit d2fb229685

View File

@ -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)