diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2019-07-06 01:37:31 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2019-07-06 01:37:31 +1000 |
commit | 46261ff71b1c2fa64a9a97baac86439723f07dd7 (patch) | |
tree | ca52715036013804f8f7e2103309468248f1883a /src/mame/drivers/px4.cpp | |
parent | e19acb87e33a69eff7a05f77008abcbe704b35ed (diff) |
(nw) get rid of wave.h usage part 1
Diffstat (limited to 'src/mame/drivers/px4.cpp')
-rw-r--r-- | src/mame/drivers/px4.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/px4.cpp b/src/mame/drivers/px4.cpp index 4b574a738d7..9f51566a4ae 100644 --- a/src/mame/drivers/px4.cpp +++ b/src/mame/drivers/px4.cpp @@ -22,7 +22,6 @@ #include "machine/ram.h" #include "machine/timer.h" #include "sound/spkrdev.h" -#include "sound/wave.h" #include "diserial.h" #include "emupal.h" @@ -1508,7 +1507,6 @@ void px4_state::px4(machine_config &config) // sound hardware SPEAKER(config, "mono").front_center(); SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 1.0); - WAVE(config, "wave", m_ext_cas).add_route(ALL_OUTPUTS, "mono", 0.05); TIMER(config, "one_sec").configure_periodic(FUNC(px4_state::upd7508_1sec_callback), attotime::from_seconds(1)); TIMER(config, "frc").configure_periodic(FUNC(px4_state::frc_tick), attotime::from_hz(XTAL(7'372'800) / 2 / 6)); @@ -1528,6 +1526,7 @@ void px4_state::px4(machine_config &config) // external cassette CASSETTE(config, m_ext_cas); m_ext_cas->set_default_state(CASSETTE_PLAY | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_DISABLED); + m_ext_cas->add_route(ALL_OUTPUTS, "mono", 0.05); TIMER(config, m_ext_cas_timer).configure_generic(FUNC(px4_state::ext_cassette_read)); |