summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k051649.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k051649.h')
-rw-r--r--src/devices/sound/k051649.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/k051649.h b/src/devices/sound/k051649.h
index 2fda5936685..368ef6c58a9 100644
--- a/src/devices/sound/k051649.h
+++ b/src/devices/sound/k051649.h
@@ -38,7 +38,7 @@ protected:
virtual void device_clock_changed() 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:
// Parameters for a channel
@@ -71,8 +71,8 @@ private:
int m_rate;
/* mixer tables and internal buffers */
- std::unique_ptr<s16[]> m_mixer_table;
- s16 *m_mixer_lookup;
+ std::vector<stream_buffer::sample_t> m_mixer_table;
+ stream_buffer::sample_t *m_mixer_lookup;
std::vector<s16> m_mixer_buffer;
/* chip registers */