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:
parent
f55bc6682f
commit
d2fb229685
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user