mixer: apply config on new sessions

Updating the config and using its settings instead of only reporting
the new session allows to apply stored channel settings immediately.

In case of Sculpt this is useful when an existing launcher already
contains a valid config that sets the volume levels appropiately or
the 'recall_fs' is used.

Fixes #3930.
This commit is contained in:
Josef Söntgen 2020-10-29 15:17:29 +01:00 committed by Christian Helmuth
parent 9b164d20fd
commit 54d36a7d1b

View File

@ -601,7 +601,7 @@ class Audio_out::Mixer
}
_channels[ch].insert(&session);
_report_channels();
_handle_config_update();
}
/**
@ -616,7 +616,7 @@ class Audio_out::Mixer
}
_channels[ch].remove(&session);
_report_channels();
_handle_config_update();
}
/**