summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/lc78836m.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2025-04-14 11:31:53 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-14 22:28:31 +0200
commitcef6157803320544651bfc96457d2f8a6df0abd6 (patch)
treef8a64867e3d654cdcad5f4c24824ea82e2c77194 /src/devices/sound/lc78836m.h
parent9473c027358e1a2d5c93d240a48052368f9d3b84 (diff)
New sound infrastructure.sound
Should be added soon: - mute - lua hookup (with documentation) - speaker/microphone resampling To be added a little later: - compression - reverb Needs to be added by someone else: - coreaudio - direct - portaudio - xaudio2 - js
Diffstat (limited to 'src/devices/sound/lc78836m.h')
-rw-r--r--src/devices/sound/lc78836m.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/lc78836m.h b/src/devices/sound/lc78836m.h
index e2622fa3500..a1dc2d04ef7 100644
--- a/src/devices/sound/lc78836m.h
+++ b/src/devices/sound/lc78836m.h
@@ -38,7 +38,7 @@ protected:
virtual void device_reset() override ATTR_COLD;
virtual void device_clock_changed() override;
- virtual void sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) override;
+ virtual void sound_stream_update(sound_stream &stream) override;
private:
void update_clock();
@@ -56,7 +56,7 @@ private:
uint8_t m_sample_bit;
int16_t m_sample;
- stream_buffer::sample_t m_sample_ch1, m_sample_ch2;
+ sound_stream::sample_t m_sample_ch1, m_sample_ch2;
double m_att;
};