summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/beep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/beep.h')
-rw-r--r--src/devices/sound/beep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/beep.h b/src/devices/sound/beep.h
index 68b9b42bc2c..6c5ef2ae65f 100644
--- a/src/devices/sound/beep.h
+++ b/src/devices/sound/beep.h
@@ -22,7 +22,7 @@ protected:
virtual void device_start() override;
// sound stream update overrides
- virtual void sound_stream_update_legacy(sound_stream &stream, stream_sample_t const * const *inputs, stream_sample_t * const *outputs, int samples) override;
+ virtual void sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) override;
public:
DECLARE_WRITE_LINE_MEMBER(set_state); // enable/disable sound output
@@ -33,7 +33,7 @@ private:
int m_enable; /* enable beep */
int m_frequency; /* set frequency - this can be changed using the appropriate function */
int m_incr; /* initial wave state */
- int16_t m_signal; /* current signal */
+ stream_buffer::sample_t m_signal; /* current signal */
};
DECLARE_DEVICE_TYPE(BEEP, beep_device)