summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author David Haywood <28625134+DavidHaywood@users.noreply.github.com>2021-12-25 13:13:34 +0000
committer GitHub <noreply@github.com>2021-12-25 14:13:34 +0100
commit9fe7237d803f3e61c2b314db76a8d44d0eed1541 (patch)
treeae754330c45c9f874493e466d9a17f24f6478c71
parent022361c6830f6b60c050f019f8e660da9f8ce3d9 (diff)
drop sound levels in rohga.cpp (#8635)
-rw-r--r--src/mame/drivers/rohga.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mame/drivers/rohga.cpp b/src/mame/drivers/rohga.cpp
index 4e3cfabd10f..a3c5f3407de 100644
--- a/src/mame/drivers/rohga.cpp
+++ b/src/mame/drivers/rohga.cpp
@@ -935,16 +935,16 @@ void rohga_state::rohga(machine_config &config)
ym2151_device &ymsnd(YM2151(config, "ymsnd", 32220000/9));
ymsnd.irq_handler().set_inputline(m_audiocpu, 1); /* IRQ2 */
ymsnd.port_write_handler().set(FUNC(rohga_state::sound_bankswitch_w));
- ymsnd.add_route(0, "lspeaker", 0.78);
- ymsnd.add_route(1, "rspeaker", 0.78);
+ ymsnd.add_route(0, "lspeaker", 0.36);
+ ymsnd.add_route(1, "rspeaker", 0.36);
OKIM6295(config, m_oki[0], 32220000/32, okim6295_device::PIN7_HIGH);
- m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 1.0);
- m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 1.0);
+ m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 0.46);
+ m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 0.46);
OKIM6295(config, m_oki[1], 32220000/16, okim6295_device::PIN7_HIGH);
- m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.40);
- m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.40);
+ m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.18);
+ m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.18);
}
void rohga_state::wizdfire(machine_config &config)
@@ -1026,16 +1026,16 @@ void rohga_state::wizdfire(machine_config &config)
ym2151_device &ymsnd(YM2151(config, "ymsnd", 32220000/9));
ymsnd.irq_handler().set_inputline(m_audiocpu, 1); /* IRQ2 */
ymsnd.port_write_handler().set(FUNC(rohga_state::sound_bankswitch_w));
- ymsnd.add_route(0, "lspeaker", 0.80);
- ymsnd.add_route(1, "rspeaker", 0.80);
+ ymsnd.add_route(0, "lspeaker", 0.36);
+ ymsnd.add_route(1, "rspeaker", 0.36);
OKIM6295(config, m_oki[0], 32220000/32, okim6295_device::PIN7_HIGH);
- m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 1.0);
- m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 1.0);
+ m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 0.46);
+ m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 0.46);
OKIM6295(config, m_oki[1], 32220000/16, okim6295_device::PIN7_HIGH);
- m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.40);
- m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.40);
+ m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.18);
+ m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.18);
}
void rohga_state::nitrobal(machine_config &config)
@@ -1118,16 +1118,16 @@ void rohga_state::nitrobal(machine_config &config)
ym2151_device &ymsnd(YM2151(config, "ymsnd", 32220000/9));
ymsnd.irq_handler().set_inputline(m_audiocpu, 1); /* IRQ2 */
ymsnd.port_write_handler().set(FUNC(rohga_state::sound_bankswitch_w));
- ymsnd.add_route(0, "lspeaker", 0.80);
- ymsnd.add_route(1, "rspeaker", 0.80);
+ ymsnd.add_route(0, "lspeaker", 0.36);
+ ymsnd.add_route(1, "rspeaker", 0.36);
OKIM6295(config, m_oki[0], 32220000/32, okim6295_device::PIN7_HIGH);
- m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 1.0);
- m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 1.0);
+ m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 0.46);
+ m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 0.46);
OKIM6295(config, m_oki[1], 32220000/16, okim6295_device::PIN7_HIGH);
- m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.40);
- m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.40);
+ m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.18);
+ m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.18);
}
void rohga_state::schmeisr(machine_config &config)
@@ -1204,16 +1204,16 @@ void rohga_state::schmeisr(machine_config &config)
ym2151_device &ymsnd(YM2151(config, "ymsnd", 32220000/9));
ymsnd.irq_handler().set_inputline(m_audiocpu, 1); /* IRQ2 */
ymsnd.port_write_handler().set(FUNC(rohga_state::sound_bankswitch_w));
- ymsnd.add_route(0, "lspeaker", 0.80);
- ymsnd.add_route(1, "rspeaker", 0.80);
+ ymsnd.add_route(0, "lspeaker", 0.36);
+ ymsnd.add_route(1, "rspeaker", 0.36);
OKIM6295(config, m_oki[0], 32220000/32, okim6295_device::PIN7_HIGH);
- m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 1.0);
- m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 1.0);
+ m_oki[0]->add_route(ALL_OUTPUTS, "lspeaker", 0.46);
+ m_oki[0]->add_route(ALL_OUTPUTS, "rspeaker", 0.46);
OKIM6295(config, m_oki[1], 32220000/16, okim6295_device::PIN7_HIGH);
- m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.40);
- m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.40);
+ m_oki[1]->add_route(ALL_OUTPUTS, "lspeaker", 0.18);
+ m_oki[1]->add_route(ALL_OUTPUTS, "rspeaker", 0.18);
}