diff options
Diffstat (limited to 'src/devices/bus/cpc/magicsound.cpp')
-rw-r--r-- | src/devices/bus/cpc/magicsound.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bus/cpc/magicsound.cpp b/src/devices/bus/cpc/magicsound.cpp index c930c95d69d..5f44afedb9e 100644 --- a/src/devices/bus/cpc/magicsound.cpp +++ b/src/devices/bus/cpc/magicsound.cpp @@ -9,6 +9,7 @@ #include "emu.h" #include "magicsound.h" +#include "sound/volt_reg.h" #include "speaker.h" @@ -57,7 +58,8 @@ MACHINE_CONFIG_MEMBER( al_magicsound_device::device_add_mconfig ) MCFG_SPEAKER_STANDARD_MONO("speaker") MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.5) // unknown DAC - MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_INPUT, 1.0) MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_NEG_INPUT, -1.0) + MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0) + MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, "dac", -1.0, DAC_VREF_NEG_INPUT) // no pass-through(?) MACHINE_CONFIG_END |