summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/sinclair/specnext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/sinclair/specnext.cpp')
-rw-r--r--src/mame/sinclair/specnext.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/mame/sinclair/specnext.cpp b/src/mame/sinclair/specnext.cpp
index 8bfb4e7a79b..2d623b51341 100644
--- a/src/mame/sinclair/specnext.cpp
+++ b/src/mame/sinclair/specnext.cpp
@@ -3466,22 +3466,21 @@ void specnext_state::tbblue(machine_config &config)
m_sdcard->set_prefer_sdhc();
m_sdcard->spi_miso_callback().set(FUNC(specnext_state::spi_miso_w));
- SPEAKER(config, "lspeaker").front_left();
- SPEAKER(config, "rspeaker").front_right();
+ SPEAKER(config, "speakers", 2).front();
- DAC_8BIT_R2R(config, m_dac[0], 0).add_route(ALL_OUTPUTS, "lspeaker", 0.75);
- DAC_8BIT_R2R(config, m_dac[1], 0).add_route(ALL_OUTPUTS, "lspeaker", 0.75);
- DAC_8BIT_R2R(config, m_dac[2], 0).add_route(ALL_OUTPUTS, "rspeaker", 0.75);
- DAC_8BIT_R2R(config, m_dac[3], 0).add_route(ALL_OUTPUTS, "rspeaker", 0.75);
+ DAC_8BIT_R2R(config, m_dac[0], 0).add_route(ALL_OUTPUTS, "speakers", 0.75, 0);
+ DAC_8BIT_R2R(config, m_dac[1], 0).add_route(ALL_OUTPUTS, "speakers", 0.75, 0);
+ DAC_8BIT_R2R(config, m_dac[2], 0).add_route(ALL_OUTPUTS, "speakers", 0.75, 1);
+ DAC_8BIT_R2R(config, m_dac[3], 0).add_route(ALL_OUTPUTS, "speakers", 0.75, 1);
config.device_remove("ay8912");
for (auto i = 0; i < 3; ++i)
{
YM2149(config, m_ay[i], 14_MHz_XTAL / 8)
- .add_route(0, "lspeaker", 0.50)
- .add_route(1, "lspeaker", 0.25)
- .add_route(1, "rspeaker", 0.25)
- .add_route(2, "rspeaker", 0.50);
+ .add_route(0, "speakers", 0.50, 0)
+ .add_route(1, "speakers", 0.25, 0)
+ .add_route(1, "speakers", 0.25, 1)
+ .add_route(2, "speakers", 0.50, 1);
}
SPECNEXT_MULTIFACE(config, m_mf, 0);