summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k005289.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k005289.h')
-rw-r--r--src/devices/sound/k005289.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/k005289.h b/src/devices/sound/k005289.h
index a8dc7b1d0b0..989ab15ae6d 100644
--- a/src/devices/sound/k005289.h
+++ b/src/devices/sound/k005289.h
@@ -26,7 +26,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;
private:
void make_mixer_table(int voices);
@@ -36,9 +36,9 @@ private:
int m_rate;
/* mixer tables and internal buffers */
- std::unique_ptr<int16_t[]> m_mixer_table;
- int16_t *m_mixer_lookup;
- std::unique_ptr<short[]> m_mixer_buffer;
+ std::unique_ptr<stream_buffer::sample_t []> m_mixer_table;
+ stream_buffer::sample_t *m_mixer_lookup;
+ std::vector<short> m_mixer_buffer;
uint32_t m_counter[2];
uint16_t m_frequency[2];