summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/wave.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/wave.h')
-rw-r--r--src/devices/sound/wave.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/devices/sound/wave.h b/src/devices/sound/wave.h
index fe5cf6b51a2..723c0b93fb6 100644
--- a/src/devices/sound/wave.h
+++ b/src/devices/sound/wave.h
@@ -1,5 +1,11 @@
// license:BSD-3-Clause
// copyright-holders:Nathan Woods
+/**********************************************************************
+
+ Cassette wave samples sound driver
+
+**********************************************************************/
+
#ifndef MAME_SOUND_WAVE_H
#define MAME_SOUND_WAVE_H
@@ -27,13 +33,14 @@ public:
protected:
// device-level overrides
- virtual void device_start() override;
+ virtual void device_start() override ATTR_COLD;
// sound stream update overrides
- virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
+ virtual void sound_stream_update(sound_stream &stream) override;
private:
required_device<cassette_image_device> m_cass;
+ std::vector<s16> m_sample_buf;
};
DECLARE_DEVICE_TYPE(WAVE, wave_device)