diff options
Diffstat (limited to 'src/devices/bus/isa/p1_sound.cpp')
-rw-r--r-- | src/devices/bus/isa/p1_sound.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bus/isa/p1_sound.cpp b/src/devices/bus/isa/p1_sound.cpp index 8155ac241bc..629926f657a 100644 --- a/src/devices/bus/isa/p1_sound.cpp +++ b/src/devices/bus/isa/p1_sound.cpp @@ -14,6 +14,7 @@ #include "emu.h" #include "p1_sound.h" +#include "sound/volt_reg.h" #include "speaker.h" @@ -67,7 +68,8 @@ MACHINE_CONFIG_MEMBER( p1_sound_device::device_add_mconfig ) MCFG_FILTER_RC_ADD("filter", 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0) MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "filter", 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) MACHINE_CONFIG_END |