mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Set proper number of volumes.
This commit is contained in:
parent
413ab42b16
commit
22ac13d3f2
@ -208,7 +208,12 @@ class ConcreteMachine:
|
|||||||
tape_player_.set_clocking_hint_observer(this);
|
tape_player_.set_clocking_hint_observer(this);
|
||||||
|
|
||||||
// Set the AY to 50% of available volume, the toggle to 10% and leave 40% for an SCC.
|
// Set the AY to 50% of available volume, the toggle to 10% and leave 40% for an SCC.
|
||||||
speaker_.mixer.set_relative_volumes({0.5f, 0.1f, 0.4f, has_opll ? 0.5f : 0.0f});
|
// If there is an OPLL, give it equal volume to the AY and expect some clipping.
|
||||||
|
if constexpr (has_opll) {
|
||||||
|
speaker_.mixer.set_relative_volumes({0.5f, 0.1f, 0.4f, 0.5f});
|
||||||
|
} else {
|
||||||
|
speaker_.mixer.set_relative_volumes({0.5f, 0.1f, 0.4f});
|
||||||
|
}
|
||||||
|
|
||||||
// Install the proper TV standard and select an ideal BIOS name.
|
// Install the proper TV standard and select an ideal BIOS name.
|
||||||
const std::string machine_name = "MSX";
|
const std::string machine_name = "MSX";
|
||||||
|
Loading…
Reference in New Issue
Block a user