summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/astrof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/astrof.cpp')
-rw-r--r--src/mame/audio/astrof.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/astrof.cpp b/src/mame/audio/astrof.cpp
index a1339992889..88fbb45e2ee 100644
--- a/src/mame/audio/astrof.cpp
+++ b/src/mame/audio/astrof.cpp
@@ -141,7 +141,7 @@ static const char *const astrof_sample_names[] =
MACHINE_CONFIG_START(astrof_state::astrof_audio)
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
MCFG_SAMPLES_NAMES(astrof_sample_names)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
@@ -197,7 +197,7 @@ WRITE8_MEMBER(astrof_state::tomahawk_audio_w)
MACHINE_CONFIG_START(astrof_state::tomahawk_audio)
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("snsnd", SN76477, 0)
+ MCFG_DEVICE_ADD("snsnd", SN76477)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C
MCFG_SN76477_DECAY_RES(0) // decay_res N/C
MCFG_SN76477_ATTACK_PARAMS(0, 0) // attack_decay_cap + attack_res: N/C