summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dai.cpp')
-rw-r--r--src/mame/drivers/dai.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/dai.cpp b/src/mame/drivers/dai.cpp
index bf19dc5d4f6..13efcd72d9b 100644
--- a/src/mame/drivers/dai.cpp
+++ b/src/mame/drivers/dai.cpp
@@ -220,10 +220,11 @@ MACHINE_CONFIG_START(dai_state::dai)
/* sound hardware */
- MCFG_SPEAKER_STANDARD_MONO("mono")
+ SPEAKER(config, "mono").front_center();
MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
- MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
+ SPEAKER(config, "lspeaker").front_left();
+ SPEAKER(config, "rspeaker").front_right();
MCFG_DEVICE_ADD("custom", DAI_SOUND)
MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
MCFG_SOUND_ROUTE(1, "rspeaker", 0.50)