diff options
Diffstat (limited to 'src/mame/audio/spacefb.cpp')
-rw-r--r-- | src/mame/audio/spacefb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/spacefb.cpp b/src/mame/audio/spacefb.cpp index 157c5ba3438..1787413ab71 100644 --- a/src/mame/audio/spacefb.cpp +++ b/src/mame/audio/spacefb.cpp @@ -79,11 +79,11 @@ static const char *const spacefb_sample_names[] = MACHINE_CONFIG_START(spacefb_state::spacefb_audio) MCFG_SPEAKER_STANDARD_MONO("speaker") - MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) // unknown DAC + MCFG_DEVICE_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.25) // unknown DAC MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0) MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE(0, "dac", -1.0, DAC_VREF_NEG_INPUT) - MCFG_SOUND_ADD("samples", SAMPLES, 0) + MCFG_DEVICE_ADD("samples", SAMPLES) MCFG_SAMPLES_CHANNELS(3) MCFG_SAMPLES_NAMES(spacefb_sample_names) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0) |