diff options
Diffstat (limited to 'src/mame/drivers/atom.cpp')
-rw-r--r-- | src/mame/drivers/atom.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/atom.cpp b/src/mame/drivers/atom.cpp index 5a46cf62aaa..bbe9cc57e4f 100644 --- a/src/mame/drivers/atom.cpp +++ b/src/mame/drivers/atom.cpp @@ -115,6 +115,7 @@ Hardware: PPIA 8255 #include "emu.h" #include "includes/atom.h" #include "formats/imageutl.h" +#include "sound/wave.h" #include "screen.h" #include "softlist.h" #include "speaker.h" @@ -723,6 +724,7 @@ MACHINE_CONFIG_START(atom_state::atom) /* sound hardware */ SPEAKER(config, "mono").front_center(); SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 1.00); + WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05); /* devices */ TIMER(config, "hz2400").configure_periodic(FUNC(atom_state::cassette_output_tick), attotime::from_hz(4806)); @@ -753,7 +755,7 @@ MACHINE_CONFIG_START(atom_state::atom) CASSETTE(config, m_cassette); m_cassette->set_formats(atom_cassette_formats); - m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_MUTED); + m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED); m_cassette->set_interface("atom_cass"); MCFG_QUICKLOAD_ADD("quickload", atom_state, atom_atm, "atm") |