mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
mixer: use audible default settings
In case there is no valid configuration the component used to mute output by default. This, however, might lead to the assumption that audio is not working at all. Instead set the master output volume to 50% and the per application volume to 100%. Fixes #4043.
This commit is contained in:
parent
9093c293cb
commit
ba6c4a664f
@ -169,9 +169,9 @@ class Audio_out::Mixer
|
||||
/*
|
||||
* Default settings used as fallback for new sessions
|
||||
*/
|
||||
float _default_out_volume { 0.f };
|
||||
float _default_volume { 0.f };
|
||||
bool _default_muted { true };
|
||||
float _default_out_volume { 0.5f };
|
||||
float _default_volume { 1.0f };
|
||||
bool _default_muted { false };
|
||||
|
||||
/**
|
||||
* Remix all exception
|
||||
@ -454,7 +454,7 @@ class Audio_out::Mixer
|
||||
"muted: ", _default_muted);
|
||||
}
|
||||
|
||||
} catch (...) { Genode::warning("could not read mixer default values"); }
|
||||
} catch (...) { Genode::warning("config invalid"); }
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user