Removed static config for discrete (nw)

This commit is contained in:
Miodrag Milanovic 2014-09-13 12:31:16 +00:00
parent f6af3e4f22
commit c34af2034b
66 changed files with 124 additions and 125 deletions

View File

@ -144,7 +144,7 @@ static MACHINE_CONFIG_FRAGMENT( abc77 )
// discrete sound
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(abc77)
MCFG_DISCRETE_INTF(abc77)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END

View File

@ -859,7 +859,7 @@ void discrete_device::device_start()
// create the stream
//m_stream = machine().sound().stream_alloc(*this, 0, 2, 22257);
const discrete_block *intf_start = (m_intf != NULL) ? m_intf : (discrete_block *) static_config();
const discrete_block *intf_start = m_intf;
char name[32];
/* If a clock is specified we will use it, otherwise run at the audio sample rate. */

View File

@ -4264,7 +4264,6 @@ public:
#define MCFG_DISCRETE_INTF(_intf) \
discrete_device::static_set_intf(*device, (const discrete_block *)&(_intf##_discrete_interface));
#define MCFG_SOUND_CONFIG_DISCRETE(name) MCFG_SOUND_CONFIG(name##_discrete_interface)
//**************************************************************************
// TYPE DEFINITIONS

View File

@ -159,7 +159,7 @@ MACHINE_CONFIG_FRAGMENT( bwidow_audio )
MCFG_SOUND_ROUTE_EX(0, "discrete", 1.0, 1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(bwidow)
MCFG_DISCRETE_INTF(bwidow)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@ -172,5 +172,5 @@ MACHINE_CONFIG_FRAGMENT( gravitar_audio )
MCFG_POKEY_OUTPUT_OPAMP_LOW_PASS(BW_R51, GRAV_C34, 5.0) /* BW_C31 ignored */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(gravitar)
MCFG_DISCRETE_INTF(gravitar)
MACHINE_CONFIG_END

View File

@ -402,7 +402,7 @@ MACHINE_CONFIG_FRAGMENT( bzone_audio )
MCFG_SOUND_ROUTE_EX(0, "discrete", 1.0, 0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(bzone)
MCFG_DISCRETE_INTF(bzone)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -174,6 +174,6 @@ MACHINE_CONFIG_FRAGMENT( crbaloon_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 2.0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(crbaloon)
MCFG_DISCRETE_INTF(crbaloon)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -510,7 +510,7 @@ MACHINE_CONFIG_FRAGMENT( galaxian_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.4)
MCFG_SOUND_ADD(GAL_AUDIO, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(galaxian)
MCFG_DISCRETE_INTF(galaxian)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -520,7 +520,7 @@ MACHINE_CONFIG_FRAGMENT( mooncrst_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.4)
MCFG_SOUND_ADD(GAL_AUDIO, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(mooncrst)
MCFG_DISCRETE_INTF(mooncrst)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -426,7 +426,7 @@ MACHINE_CONFIG_FRAGMENT( m52_sound_c_audio )
MCFG_SOUND_ROUTE_EX(0, "filtermix", 1.0, 2)
MCFG_SOUND_ADD("filtermix", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(m52_sound_c)
MCFG_DISCRETE_INTF(m52_sound_c)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -622,7 +622,7 @@ MACHINE_CONFIG_FRAGMENT( mario_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(mario)
MCFG_DISCRETE_INTF(mario)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1)
MACHINE_CONFIG_END

View File

@ -306,7 +306,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( tornbase_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(tornbase)
MCFG_DISCRETE_INTF(tornbase)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1)
MACHINE_CONFIG_END
@ -552,7 +552,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( maze_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(maze)
MCFG_DISCRETE_INTF(maze)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -799,7 +799,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( boothill_audio )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(boothill)
MCFG_DISCRETE_INTF(boothill)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
@ -1029,7 +1029,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( checkmat_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(checkmat)
MCFG_DISCRETE_INTF(checkmat)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.4)
MACHINE_CONFIG_END
@ -1240,7 +1240,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( desertgu_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(desertgu)
MCFG_DISCRETE_INTF(desertgu)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.8)
MACHINE_CONFIG_END
@ -1505,7 +1505,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( dplay_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(dplay)
MCFG_DISCRETE_INTF(dplay)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.8)
MACHINE_CONFIG_END
@ -1902,7 +1902,7 @@ MACHINE_CONFIG_FRAGMENT( clowns_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.70)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(clowns)
MCFG_DISCRETE_INTF(clowns)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@ -2268,7 +2268,7 @@ MACHINE_CONFIG_FRAGMENT( spacwalk_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(spacwalk)
MCFG_DISCRETE_INTF(spacwalk)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -2497,7 +2497,7 @@ MACHINE_CONFIG_FRAGMENT( shuffle_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(shuffle)
MCFG_DISCRETE_INTF(shuffle)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -2676,7 +2676,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( dogpatch_audio )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(dogpatch)
MCFG_DISCRETE_INTF(dogpatch)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
@ -3214,7 +3214,7 @@ MACHINE_CONFIG_FRAGMENT( spcenctr_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(spcenctr)
MCFG_DISCRETE_INTF(spcenctr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45)
MACHINE_CONFIG_END
@ -3414,7 +3414,7 @@ MACHINE_CONFIG_FRAGMENT( bowler_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(bowler)
MCFG_DISCRETE_INTF(bowler)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1)
MACHINE_CONFIG_END
@ -4132,7 +4132,7 @@ MACHINE_CONFIG_FRAGMENT( invaders_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(invaders)
MCFG_DISCRETE_INTF(invaders)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MACHINE_CONFIG_END
@ -4533,7 +4533,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( blueshrk_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(blueshrk)
MCFG_DISCRETE_INTF(blueshrk)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
@ -4752,7 +4752,7 @@ MACHINE_CONFIG_FRAGMENT( invad2ct_audio )
MCFG_SPEAKER_STANDARD_STEREO("spk1", "spk2")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(invad2ct)
MCFG_DISCRETE_INTF(invad2ct)
MCFG_SOUND_ROUTE(0, "spk1", 0.5)
MCFG_SOUND_ROUTE(1, "spk2", 0.5)

View File

@ -195,7 +195,7 @@ MACHINE_CONFIG_FRAGMENT( qix_audio )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(qix)
MCFG_DISCRETE_INTF(qix)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -205,6 +205,6 @@ MACHINE_CONFIG_FRAGMENT( spiders_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(spiders)
MCFG_DISCRETE_INTF(spiders)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -118,7 +118,7 @@ MACHINE_CONFIG_FRAGMENT( frogs_audio )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.35)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(frogs)
MCFG_DISCRETE_INTF(frogs)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -448,7 +448,7 @@ DISCRETE_SOUND_END
MACHINE_CONFIG_FRAGMENT( headon_audio )
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(headon)
MCFG_DISCRETE_INTF(headon)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -1393,7 +1393,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( schaser, mw8080bw_root, _8080bw_state )
MCFG_SOUND_ROUTE_EX(0, "discrete", 1.0, 0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(schaser)
MCFG_DISCRETE_INTF(schaser)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -1671,7 +1671,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( lupin3, mw8080bw_root, _8080bw_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(indianbt)
MCFG_DISCRETE_INTF(indianbt)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -1703,7 +1703,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( lupin3a, mw8080bw_root, _8080bw_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(indianbt)
MCFG_DISCRETE_INTF(indianbt)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -1833,7 +1833,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( polaris, mw8080bw_root, _8080bw_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(polaris)
MCFG_DISCRETE_INTF(polaris)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -1957,7 +1957,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( ballbomb, mw8080bw_root, _8080bw_state )
MCFG_FRAGMENT_ADD(invaders_samples_audio)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(ballbomb)
MCFG_DISCRETE_INTF(ballbomb)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -2198,7 +2198,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( indianbt, mw8080bw_root, _8080bw_state )
MCFG_FRAGMENT_ADD(invaders_samples_audio)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(indianbt)
MCFG_DISCRETE_INTF(indianbt)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END

View File

@ -665,7 +665,7 @@ static MACHINE_CONFIG_START( asteroid, asteroid_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(asteroid)
MCFG_DISCRETE_INTF(asteroid)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.4)
MACHINE_CONFIG_END
@ -687,7 +687,7 @@ static MACHINE_CONFIG_DERIVED( astdelux, asteroid )
/* sound hardware */
MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(astdelux)
MCFG_DISCRETE_INTF(astdelux)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_SOUND_ADD("pokey", POKEY, MASTER_CLOCK/8)
@ -713,7 +713,7 @@ static MACHINE_CONFIG_DERIVED( llander, asteroid )
/* sound hardware */
MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(llander)
MCFG_DISCRETE_INTF(llander)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -571,7 +571,7 @@ static MACHINE_CONFIG_START( atarifb, atarifb_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(atarifb)
MCFG_DISCRETE_INTF(atarifb)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.18)
MACHINE_CONFIG_END
@ -596,7 +596,7 @@ static MACHINE_CONFIG_DERIVED( abaseb, atarifb )
/* sound hardware */
MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(abaseb)
MCFG_DISCRETE_INTF(abaseb)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.24)
MACHINE_CONFIG_END

View File

@ -261,7 +261,7 @@ static MACHINE_CONFIG_START( avalnche, avalnche_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(avalnche)
MCFG_DISCRETE_INTF(avalnche)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -487,7 +487,7 @@ static MACHINE_CONFIG_START( blockade, blockade_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(blockade)
MCFG_DISCRETE_INTF(blockade)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -266,7 +266,7 @@ static MACHINE_CONFIG_START( bsktball, bsktball_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(bsktball)
MCFG_DISCRETE_INTF(bsktball)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -1329,7 +1329,7 @@ static MACHINE_CONFIG_START( btime, btime_state )
MCFG_SOUND_ROUTE_EX(2, "discrete", 1.0, 5)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(btime_sound)
MCFG_DISCRETE_INTF(btime_sound)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -259,7 +259,7 @@ static MACHINE_CONFIG_START( canyon, canyon_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(canyon)
MCFG_DISCRETE_INTF(canyon)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -306,7 +306,7 @@ static MACHINE_CONFIG_START( circus, circus_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(circus)
MCFG_DISCRETE_INTF(circus)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
@ -341,7 +341,7 @@ static MACHINE_CONFIG_START( robotbwl, circus_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(robotbwl)
MCFG_DISCRETE_INTF(robotbwl)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -383,7 +383,7 @@ static MACHINE_CONFIG_START( crash, circus_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(crash)
MCFG_DISCRETE_INTF(crash)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END
@ -417,7 +417,7 @@ static MACHINE_CONFIG_START( ripcord, circus_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(circus)
MCFG_DISCRETE_INTF(circus)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END

View File

@ -369,7 +369,7 @@ static MACHINE_CONFIG_START( circusc, circusc_state )
MCFG_SOUND_ADD("fltdisc", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(circusc)
MCFG_DISCRETE_INTF(circusc)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -718,7 +718,7 @@ static MACHINE_CONFIG_START( cliffhgr, cliffhgr_state )
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(cliffhgr)
MCFG_DISCRETE_INTF(cliffhgr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -264,7 +264,7 @@ static MACHINE_CONFIG_START( copsnrob, copsnrob_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(copsnrob)
MCFG_DISCRETE_INTF(copsnrob)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -347,7 +347,7 @@ static MACHINE_CONFIG_START( dragrace, dragrace_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(dragrace)
MCFG_DISCRETE_INTF(dragrace)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -875,7 +875,7 @@ static MACHINE_CONFIG_START( firetrk, firetrk_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(firetrk)
MCFG_DISCRETE_INTF(firetrk)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -899,7 +899,7 @@ static MACHINE_CONFIG_DERIVED( superbug, firetrk )
/* sound hardware */
MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(superbug)
MCFG_DISCRETE_INTF(superbug)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -923,7 +923,7 @@ static MACHINE_CONFIG_DERIVED( montecar, firetrk )
/* sound hardware */
MCFG_SOUND_REPLACE("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(montecar)
MCFG_DISCRETE_INTF(montecar)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -1675,7 +1675,7 @@ static MACHINE_CONFIG_START( bosco, bosco_state )
/* discrete circuit on the 54XX outputs */
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(bosco)
MCFG_DISCRETE_INTF(bosco)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
MACHINE_CONFIG_END
@ -1739,7 +1739,7 @@ static MACHINE_CONFIG_START( galaga, galaga_state )
/* discrete circuit on the 54XX outputs */
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(galaga)
MCFG_DISCRETE_INTF(galaga)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
MACHINE_CONFIG_END
@ -1827,7 +1827,7 @@ static MACHINE_CONFIG_START( xevious, xevious_state )
/* discrete circuit on the 54XX outputs */
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(galaga)
MCFG_DISCRETE_INTF(galaga)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
MACHINE_CONFIG_END

View File

@ -5050,7 +5050,7 @@ static MACHINE_CONFIG_FRAGMENT( konami_sound_1x_ay8910 )
MCFG_SOUND_ROUTE_EX(2, "konami", 1.0, 2)
MCFG_SOUND_ADD("konami", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(konami_sound)
MCFG_DISCRETE_INTF(konami_sound)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MACHINE_CONFIG_END
@ -5080,7 +5080,7 @@ static MACHINE_CONFIG_FRAGMENT( konami_sound_2x_ay8910 )
MCFG_SOUND_ROUTE_EX(2, "konami", 1.0, 5)
MCFG_SOUND_ADD("konami", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(konami_sound)
MCFG_DISCRETE_INTF(konami_sound)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MACHINE_CONFIG_END

View File

@ -3726,7 +3726,7 @@ static MACHINE_CONFIG_DERIVED( goldnpkr, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(goldnpkr)
MCFG_DISCRETE_INTF(goldnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3744,7 +3744,7 @@ static MACHINE_CONFIG_DERIVED( pottnpkr, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(pottnpkr)
MCFG_DISCRETE_INTF(pottnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3766,7 +3766,7 @@ static MACHINE_CONFIG_DERIVED( witchcrd, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(goldnpkr)
MCFG_DISCRETE_INTF(goldnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3813,7 +3813,7 @@ static MACHINE_CONFIG_DERIVED( wildcard, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(goldnpkr)
MCFG_DISCRETE_INTF(goldnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3837,7 +3837,7 @@ static MACHINE_CONFIG_DERIVED( wcrdxtnd, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(goldnpkr)
MCFG_DISCRETE_INTF(goldnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3888,7 +3888,7 @@ static MACHINE_CONFIG_DERIVED( genie, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(goldnpkr)
MCFG_DISCRETE_INTF(goldnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3905,7 +3905,7 @@ static MACHINE_CONFIG_DERIVED( mondial, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(goldnpkr)
MCFG_DISCRETE_INTF(goldnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -3930,7 +3930,7 @@ static MACHINE_CONFIG_DERIVED( bchancep, goldnpkr_base )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(pottnpkr)
MCFG_DISCRETE_INTF(pottnpkr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -678,7 +678,7 @@ static MACHINE_CONFIG_START( grchamp, grchamp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.2)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(grchamp)
MCFG_DISCRETE_INTF(grchamp)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -531,7 +531,7 @@ static MACHINE_CONFIG_START( gyruss, gyruss_state )
MCFG_SOUND_ROUTE_EX(2, "discrete", 1.0, 14)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(gyruss_sound)
MCFG_DISCRETE_INTF(gyruss_sound)
MCFG_SOUND_ROUTE(0, "rspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "lspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -331,7 +331,7 @@ static MACHINE_CONFIG_START( hitme, hitme_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(hitme)
MCFG_DISCRETE_INTF(hitme)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -392,7 +392,7 @@ static MACHINE_CONFIG_START( ironhors, ironhors_state )
MCFG_SOUND_ROUTE_EX(3, "disc_ih", 1.0, 3)
MCFG_SOUND_ADD("disc_ih", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(ironhors)
MCFG_DISCRETE_INTF(ironhors)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -356,7 +356,7 @@ static MACHINE_CONFIG_START( m14, m14_state )
// MCFG_SPEAKER_STANDARD_MONO("mono")
// MCFG_SOUND_ADD("discrete", DISCRETE, 0)
// MCFG_SOUND_CONFIG_DISCRETE(m14)
// MCFG_DISCRETE_INTF(m14)
// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -202,7 +202,7 @@ static MACHINE_CONFIG_START( m79amb, m79amb_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(m79amb)
MCFG_DISCRETE_INTF(m79amb)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -181,7 +181,7 @@ static MACHINE_CONFIG_START( madalien, madalien_state )
MCFG_SOUND_ROUTE_EX(2, "discrete", 1.0, 2)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(madalien)
MCFG_DISCRETE_INTF(madalien)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -160,7 +160,7 @@ static MACHINE_CONFIG_START( nitedrvr, nitedrvr_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(nitedrvr)
MCFG_DISCRETE_INTF(nitedrvr)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -1255,7 +1255,7 @@ static MACHINE_CONFIG_START( noraut_base, norautp_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(norautp)
MCFG_DISCRETE_INTF(norautp)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -1276,7 +1276,7 @@ static MACHINE_CONFIG_DERIVED( norautpl, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(kimble)
MCFG_DISCRETE_INTF(kimble)
MACHINE_CONFIG_END
@ -1327,7 +1327,7 @@ static MACHINE_CONFIG_DERIVED( kimble, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(kimble)
MCFG_DISCRETE_INTF(kimble)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( newhilop, noraut_base )
@ -1351,7 +1351,7 @@ static MACHINE_CONFIG_DERIVED( dphl, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(dphl)
MCFG_DISCRETE_INTF(dphl)
MACHINE_CONFIG_END
@ -1364,7 +1364,7 @@ static MACHINE_CONFIG_DERIVED( dphla, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(dphl)
MCFG_DISCRETE_INTF(dphl)
MACHINE_CONFIG_END
@ -1377,7 +1377,7 @@ static MACHINE_CONFIG_DERIVED( kimbldhl, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(kimble)
MCFG_DISCRETE_INTF(kimble)
MACHINE_CONFIG_END
@ -1390,7 +1390,7 @@ static MACHINE_CONFIG_DERIVED( dphltest, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(dphl)
MCFG_DISCRETE_INTF(dphl)
MACHINE_CONFIG_END
@ -1403,7 +1403,7 @@ static MACHINE_CONFIG_DERIVED( drhl, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(dphl)
MCFG_DISCRETE_INTF(dphl)
MACHINE_CONFIG_END
@ -1416,7 +1416,7 @@ static MACHINE_CONFIG_DERIVED( ssjkrpkr, noraut_base )
/* sound hardware */
MCFG_SOUND_MODIFY("discrete")
MCFG_SOUND_CONFIG_DISCRETE(dphl)
MCFG_DISCRETE_INTF(dphl)
MACHINE_CONFIG_END

View File

@ -310,7 +310,7 @@ static MACHINE_CONFIG_START( orbit, orbit_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(orbit)
MCFG_DISCRETE_INTF(orbit)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -446,7 +446,7 @@ static MACHINE_CONFIG_START( phoenix, phoenix_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.4)
MCFG_SOUND_ADD("discrete", DISCRETE, 120000)
MCFG_SOUND_CONFIG_DISCRETE(phoenix)
MCFG_DISCRETE_INTF(phoenix)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.6)
MACHINE_CONFIG_END

View File

@ -907,7 +907,7 @@ static MACHINE_CONFIG_START( polepos, polepos_state )
/* discrete circuit on the 54XX outputs */
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(polepos)
MCFG_DISCRETE_INTF(polepos)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.90)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.90)

View File

@ -234,7 +234,7 @@ static MACHINE_CONFIG_START( poolshrk, poolshrk_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(poolshrk)
MCFG_DISCRETE_INTF(poolshrk)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -304,7 +304,7 @@ static MACHINE_CONFIG_START( quantum, quantum_state )
MCFG_SOUND_ROUTE_EX(0, "discrete", 1.0, 1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(quantum)
MCFG_DISCRETE_INTF(quantum)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END

View File

@ -397,7 +397,7 @@ static MACHINE_CONFIG_START( skydiver, skydiver_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(skydiver)
MCFG_DISCRETE_INTF(skydiver)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -238,7 +238,7 @@ static MACHINE_CONFIG_START( skyraid, skyraid_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(skyraid)
MCFG_DISCRETE_INTF(skyraid)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -936,7 +936,7 @@ static MACHINE_CONFIG_DERIVED( fantasy, vanguard )
MCFG_SOUND_ROUTE_EX(0, "discrete", 1.0, 0)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(fantasy)
MCFG_DISCRETE_INTF(fantasy)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MCFG_DEVICE_REMOVE("sn76477.2")

View File

@ -507,7 +507,7 @@ static MACHINE_CONFIG_START( sprint2, sprint2_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(sprint2)
MCFG_DISCRETE_INTF(sprint2)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
@ -523,7 +523,7 @@ static MACHINE_CONFIG_DERIVED( sprint1, sprint2 )
MCFG_DEVICE_REMOVE("discrete")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(sprint1)
MCFG_DISCRETE_INTF(sprint1)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -538,7 +538,7 @@ static MACHINE_CONFIG_DERIVED( dominos, sprint2 )
MCFG_DEVICE_REMOVE("discrete")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(dominos)
MCFG_DISCRETE_INTF(dominos)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -420,7 +420,7 @@ static MACHINE_CONFIG_START( sprint4, sprint4_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(sprint4)
MCFG_DISCRETE_INTF(sprint4)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)

View File

@ -479,7 +479,7 @@ static MACHINE_CONFIG_START( sprint8, sprint8_state )
MCFG_SPEAKER_ADD("speaker_4_8", 0.2, 0.0, 1.0) /* right */
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(sprint8)
MCFG_DISCRETE_INTF(sprint8)
MCFG_SOUND_ROUTE(0, "speaker_1_2", 1.0)
/* volumes on other channels defaulted to off, */
/* user can turn them up if needed. */

View File

@ -317,7 +317,7 @@ static MACHINE_CONFIG_START( starshp1, starshp1_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(starshp1)
MCFG_DISCRETE_INTF(starshp1)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -211,7 +211,7 @@ static MACHINE_CONFIG_START( subs, subs_state )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(subs)
MCFG_DISCRETE_INTF(subs)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END

View File

@ -350,7 +350,7 @@ static MACHINE_CONFIG_START( tank8, tank8_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(tank8)
MCFG_DISCRETE_INTF(tank8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END

View File

@ -332,7 +332,7 @@ static MACHINE_CONFIG_START( triplhnt, triplhnt_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(triplhnt)
MCFG_DISCRETE_INTF(triplhnt)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.90)
MACHINE_CONFIG_END

View File

@ -339,7 +339,7 @@ static MACHINE_CONFIG_START( uapce, uapce_state )
MCFG_SOUND_ROUTE(1, "rspeaker", 0.5)
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(uapce)
MCFG_DISCRETE_INTF(uapce)
MCFG_SOUND_ROUTE(0, "rspeaker", 1.00)
MACHINE_CONFIG_END

View File

@ -323,7 +323,7 @@ static MACHINE_CONFIG_START( ultratnk, ultratnk_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(ultratnk)
MCFG_DISCRETE_INTF(ultratnk)
MCFG_SOUND_ROUTE(0, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -351,7 +351,7 @@ static MACHINE_CONFIG_START( videopin, videopin_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(videopin)
MCFG_DISCRETE_INTF(videopin)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END

View File

@ -842,7 +842,7 @@ static MACHINE_CONFIG_DERIVED( stinger, kungfut )
MCFG_DEVICE_REMOVE("8910.3")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(stinger)
MCFG_DISCRETE_INTF(stinger)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MACHINE_CONFIG_END

View File

@ -1015,7 +1015,7 @@ static MACHINE_CONFIG_START( abc800c, abc800c_state )
// sound hardware
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(abc800)
MCFG_DISCRETE_INTF(abc800)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
// peripheral hardware
@ -1090,7 +1090,7 @@ static MACHINE_CONFIG_START( abc800m, abc800m_state )
// sound hardware
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(abc800)
MCFG_DISCRETE_INTF(abc800)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
// peripheral hardware
@ -1165,7 +1165,7 @@ static MACHINE_CONFIG_START( abc802, abc802_state )
// sound hardware
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(abc800)
MCFG_DISCRETE_INTF(abc800)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
// peripheral hardware

View File

@ -429,7 +429,7 @@ static MACHINE_CONFIG_START( hec2hr, hec2hrp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) /* Son 1bit*/
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
/* Gestion cassette*/
@ -475,7 +475,7 @@ static MACHINE_CONFIG_START( hec2hrp, hec2hrp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) // Son 1bit
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
/* Gestion cassette*/
@ -535,7 +535,7 @@ static MACHINE_CONFIG_START( hec2mx40, hec2hrp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) // Son 1bit
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
/* Gestion cassette*/
@ -590,7 +590,7 @@ static MACHINE_CONFIG_START( hec2hrx, hec2hrp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) // Son 1bit
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
// Gestion cassette
@ -643,7 +643,7 @@ static MACHINE_CONFIG_START( hec2mdhrx, hec2hrp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) // Son 1bit
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
// Gestion cassette
@ -699,7 +699,7 @@ static MACHINE_CONFIG_START( hec2mx80, hec2hrp_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) // Son 1bit
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
/* Gestion cassette*/

View File

@ -153,7 +153,7 @@ static MACHINE_CONFIG_START( interact, interact_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) /* Son 1bit*/
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_CASSETTE_ADD( "cassette" )
@ -200,7 +200,7 @@ static MACHINE_CONFIG_START( hector1, interact_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ADD("discrete", DISCRETE, 0) /* Son 1bit*/
MCFG_SOUND_CONFIG_DISCRETE( hec2hrp )
MCFG_DISCRETE_INTF( hec2hrp )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_CASSETTE_ADD( "cassette" )

View File

@ -734,7 +734,7 @@ static MACHINE_CONFIG_START( osi600, sb2m600_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(osi600_discrete_interface)
MCFG_DISCRETE_INTF(osi600_discrete_interface)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
/* cassette ACIA */
@ -790,7 +790,7 @@ static MACHINE_CONFIG_START( c1p, c1p_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(osi600c_discrete_interface)
MCFG_DISCRETE_INTF(osi600c_discrete_interface)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MCFG_SOUND_ADD("beeper", BEEP, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)

View File

@ -550,7 +550,7 @@ static MACHINE_CONFIG_START( vidbrain, vidbrain_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(vidbrain)
MCFG_DISCRETE_INTF(vidbrain)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_SOUND_ADD(DAC_TAG, DAC, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)

View File

@ -735,7 +735,7 @@ static MACHINE_CONFIG_START( vip, vip_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(vip)
MCFG_DISCRETE_INTF(vip)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_VIP_BYTEIO_PORT_ADD(VIP_BYTEIO_PORT_TAG, vip_byteio_cards, NULL, WRITELINE(vip_state, byteio_inst_w))

View File

@ -770,7 +770,7 @@ static MACHINE_CONFIG_START( vixen, vixen_state )
// sound hardware
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(vixen)
MCFG_DISCRETE_INTF(vixen)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
// devices

View File

@ -90,7 +90,7 @@ static MACHINE_CONFIG_FRAGMENT( v1050_keyboard )
// discrete sound
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD(DISCRETE_TAG, DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(v1050kb)
MCFG_DISCRETE_INTF(v1050kb)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END