fixed mistakes with MCFG_SOUND_ROUTE in MCFG_SOUND_MODIFY, causing double routing (louder volume + soundchip showing up twice in the sliders menu)

This commit is contained in:
Michaël Banaan Ananas 2012-05-08 20:26:08 +00:00
parent 517e339e81
commit c93fdb5212
12 changed files with 11 additions and 22 deletions

View File

@ -868,6 +868,7 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( cheesech, artmagic )
MCFG_SOUND_MODIFY("oki")
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@ -881,6 +882,7 @@ static MACHINE_CONFIG_DERIVED( stonebal, artmagic )
MCFG_CPU_PROGRAM_MAP(stonebal_tms_map)
MCFG_SOUND_MODIFY("oki")
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45)
MACHINE_CONFIG_END

View File

@ -598,7 +598,6 @@ MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( squaitsa, botanic )
MCFG_SOUND_MODIFY("aysnd")
MCFG_SOUND_CONFIG(ay8910_dial_config)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)
MACHINE_CONFIG_END

View File

@ -2786,7 +2786,6 @@ static MACHINE_CONFIG_DERIVED( s903mod, sys903 )
/* sound hardware */
MCFG_SOUND_MODIFY("ay8912")
MCFG_SOUND_CONFIG(sys905_ay8912_intf)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MCFG_DEVICE_REMOVE("acia6850_0")
MACHINE_CONFIG_END
@ -2805,7 +2804,6 @@ static MACHINE_CONFIG_DERIVED( sys905, sys903 )
/* sound hardware */
MCFG_SOUND_MODIFY("ay8912")
MCFG_SOUND_CONFIG(sys905_ay8912_intf)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MCFG_DEVICE_REMOVE("acia6850_0")
MACHINE_CONFIG_END
@ -2826,7 +2824,6 @@ static MACHINE_CONFIG_DERIVED( sys906, sys903 )
/* sound hardware */
MCFG_SOUND_MODIFY("ay8912")
MCFG_SOUND_CONFIG(sys906_ay8912_intf)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
MCFG_DEVICE_REMOVE("acia6850_0")
MACHINE_CONFIG_END

View File

@ -643,10 +643,12 @@ static MACHINE_CONFIG_DERIVED( ctribe, ddragon3 )
MCFG_SCREEN_UPDATE_STATIC(ctribe)
MCFG_SOUND_MODIFY("ym2151")
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(0, "lspeaker", 1.20)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.20)
MCFG_SOUND_MODIFY("oki")
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.80)
MACHINE_CONFIG_END

View File

@ -441,6 +441,7 @@ static MACHINE_CONFIG_DERIVED( magjoker, galaxi )
MCFG_SOUND_MODIFY("oki")
/* ADPCM samples are recorded with extremely low volume */
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 4.0)
MACHINE_CONFIG_END

View File

@ -2495,7 +2495,8 @@ static MACHINE_CONFIG_DERIVED( anteater, scobra )
/* quiet down the sounds */
MCFG_SOUND_MODIFY("konami")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END

View File

@ -428,7 +428,6 @@ static MACHINE_CONFIG_DERIVED( bs94, re900 )
/* sound hardware */
MCFG_SOUND_MODIFY("ay_re900")
MCFG_SOUND_CONFIG(ay8910_bs94)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MACHINE_CONFIG_END

View File

@ -644,7 +644,6 @@ static MACHINE_CONFIG_DERIVED( stratvox, route16 )
/* sound hardware */
MCFG_SOUND_MODIFY("ay8910")
MCFG_SOUND_CONFIG(stratvox_ay8910_interface)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MCFG_SOUND_ADD("snsnd", SN76477, 0)
MCFG_SOUND_CONFIG(sn76477_intf)

View File

@ -1373,10 +1373,12 @@ static MACHINE_CONFIG_DERIVED( hotshock, scramble )
MCFG_VIDEO_START(pisces)
MCFG_SOUND_MODIFY("8910.1")
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
MCFG_SOUND_MODIFY("8910.2")
MCFG_SOUND_CONFIG(hotshock_ay8910_interface_2)
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.33)
MACHINE_CONFIG_END
@ -1418,6 +1420,7 @@ static MACHINE_CONFIG_DERIVED( triplep, scramble )
MCFG_SOUND_MODIFY("8910.1")
MCFG_SOUND_CLOCK(18432000/12) // triple punch/knock out ay clock is 1.535MHz, derived from main cpu xtal; verified on hardware
MCFG_SOUND_CONFIG(triplep_ay8910_interface)
MCFG_SOUND_ROUTES_RESET()
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_DEVICE_REMOVE("8910.2")

View File

@ -1915,10 +1915,6 @@ static MACHINE_CONFIG_DERIVED( champwr, fhawk )
/* sound hardware */
MCFG_SOUND_MODIFY("ymsnd")
MCFG_SOUND_CONFIG(ym2203_interface_champwr)
MCFG_SOUND_ROUTE(0, "mono", 0.20)
MCFG_SOUND_ROUTE(1, "mono", 0.20)
MCFG_SOUND_ROUTE(2, "mono", 0.20)
MCFG_SOUND_ROUTE(3, "mono", 0.80)
MCFG_SOUND_ADD("msm", MSM5205, XTAL_384kHz)
MCFG_SOUND_CONFIG(msm5205_config)

View File

@ -1880,10 +1880,6 @@ static MACHINE_CONFIG_DERIVED( kabukiz, tnzsb )
MCFG_SOUND_MODIFY("ymsnd")
MCFG_SOUND_CONFIG(kabukiz_ym2203_interface)
MCFG_SOUND_ROUTE(0, "mono", 1.0)
MCFG_SOUND_ROUTE(1, "mono", 1.0)
MCFG_SOUND_ROUTE(2, "mono", 1.0)
MCFG_SOUND_ROUTE(3, "mono", 2.0)
MCFG_SOUND_ADD("dac", DAC, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)

View File

@ -772,17 +772,11 @@ static MACHINE_CONFIG_DERIVED( stinger, wiz )
MCFG_SCREEN_UPDATE_STATIC(stinger)
/* sound hardware */
MCFG_SOUND_MODIFY("8910.1")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.12)
MCFG_SOUND_MODIFY("8910.2")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.12)
MCFG_DEVICE_REMOVE("8910.3")
MCFG_SOUND_ADD("discrete", DISCRETE, 0)
MCFG_SOUND_CONFIG_DISCRETE(stinger)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.5)
MACHINE_CONFIG_END