summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/wave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/wave.cpp')
-rw-r--r--src/devices/sound/wave.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/devices/sound/wave.cpp b/src/devices/sound/wave.cpp
index c7dd698dab6..ac564f70226 100644
--- a/src/devices/sound/wave.cpp
+++ b/src/devices/sound/wave.cpp
@@ -25,13 +25,12 @@
-DEFINE_DEVICE_TYPE(WAVE, wave_device, "wave", "Wave")
+DEFINE_DEVICE_TYPE(WAVE, wave_device, "wave", "Cassette Sound")
wave_device::wave_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, WAVE, tag, owner, clock)
, device_sound_interface(mconfig, *this)
- , m_cassette_tag(nullptr)
- , m_cass(nullptr)
+ , m_cass(*this, finder_base::DUMMY_TAG)
{
}
@@ -47,7 +46,6 @@ void wave_device::device_start()
machine().sound().stream_alloc(*this, 0, 2, machine().sample_rate());
else
machine().sound().stream_alloc(*this, 0, 1, machine().sample_rate());
- m_cass = owner()->subdevice<cassette_image_device>(m_cassette_tag);
}
//-------------------------------------------------