diff options
author | 2025-04-14 11:31:53 +0200 | |
---|---|---|
committer | 2025-04-14 22:28:31 +0200 | |
commit | cef6157803320544651bfc96457d2f8a6df0abd6 (patch) | |
tree | f8a64867e3d654cdcad5f4c24824ea82e2c77194 /src/devices/sound/hc55516.h | |
parent | 9473c027358e1a2d5c93d240a48052368f9d3b84 (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/hc55516.h')
-rw-r--r-- | src/devices/sound/hc55516.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/sound/hc55516.h b/src/devices/sound/hc55516.h index 9862e489b3f..ac1a56bf739 100644 --- a/src/devices/sound/hc55516.h +++ b/src/devices/sound/hc55516.h @@ -52,7 +52,7 @@ public: // Audio In pin, an analog value of the audio waveform being pushed to the chip. // TODO: this is not hooked up or implemented yet, and this should really be handled as an // input stream from a separate DAC device, not a value push function at all. - //void audio_in_w(stream_buffer::sample_t data); + //void audio_in_w(sound_stream::sample_t data); // sets the buffered digit (0 or 1), common to all chips. TODO: replace all use of this with // digin_cb once implemented @@ -74,7 +74,7 @@ protected: //virtual void device_clock_changed() override; // sound stream update overrides - 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; // callbacks devcb_write_line m_clock_state_push_cb; // TODO: get rid of this, if you use it you should feel bad @@ -129,7 +129,7 @@ protected: virtual void device_reset() override ATTR_COLD; // sound stream update overrides - 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; // callbacks devcb_write_line m_agc_push_cb; @@ -179,7 +179,7 @@ protected: virtual void device_start() override ATTR_COLD; // sound stream update overrides - 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; // const coefficients defined by constructor; should these be adjustable by the user or externally defined, // as they are implemented using a set of two small lowpass filters outside the chip? @@ -190,8 +190,8 @@ protected: // internal state double m_sylfilter; double m_intfilter; - stream_buffer::sample_t m_curr_sample; - stream_buffer::sample_t m_next_sample; + sound_stream::sample_t m_curr_sample; + sound_stream::sample_t m_next_sample; // internal handlers virtual void process_bit(bool bit, bool clock_state) override; |