mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
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:
parent
9b164d20fd
commit
54d36a7d1b
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user