summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ad1848.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 16:44:58 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 16:44:58 +0200
commit02e20545e7950e7a75a1750dadba76b8161d0827 (patch)
treeb79cfaab5483ca21bda7e5b70bf90a92f0bbbdcb /src/devices/sound/ad1848.cpp
parent561311477307cd5807566e5cf966d2be276a6b19 (diff)
updated devices/sound devices to use device_add_mconfig insted of device_mconfig_additions (nw)
Diffstat (limited to 'src/devices/sound/ad1848.cpp')
-rw-r--r--src/devices/sound/ad1848.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/sound/ad1848.cpp b/src/devices/sound/ad1848.cpp
index 1cc3b7f9647..8f30b7def32 100644
--- a/src/devices/sound/ad1848.cpp
+++ b/src/devices/sound/ad1848.cpp
@@ -21,7 +21,7 @@ ad1848_device::ad1848_device(const machine_config &mconfig, const char *tag, dev
{
}
-static MACHINE_CONFIG_START( ad1848_config )
+MACHINE_CONFIG_MEMBER( ad1848_device::device_add_mconfig )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("ldac", DAC_16BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.5) // unknown DAC
MCFG_SOUND_ADD("rdac", DAC_16BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.5) // unknown DAC
@@ -30,10 +30,6 @@ static MACHINE_CONFIG_START( ad1848_config )
MCFG_SOUND_ROUTE_EX(0, "rdac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, "rdac", -1.0, DAC_VREF_NEG_INPUT)
MACHINE_CONFIG_END
-machine_config_constructor ad1848_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( ad1848_config );
-}
void ad1848_device::device_start()
{