summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ay8910.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/ay8910.h')
-rw-r--r--src/devices/sound/ay8910.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/sound/ay8910.h b/src/devices/sound/ay8910.h
index d9af1b6b86f..373a850b662 100644
--- a/src/devices/sound/ay8910.h
+++ b/src/devices/sound/ay8910.h
@@ -135,7 +135,7 @@ protected:
virtual void device_clock_changed() override;
// sound stream update overrides
- virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **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;
// trampolines for callbacks from fm.cpp
static void psg_set_clock(device_t *device, int clock) { downcast<ay8910_device *>(device)->ay_set_clock(clock); }
@@ -276,7 +276,7 @@ private:
// internal helpers
void set_type(psg_type_t psg_type);
- inline u16 mix_3D();
+ inline stream_buffer::sample_t mix_3D();
void ay8910_write_reg(int r, int v);
void build_mixer_table();
void ay8910_statesave();
@@ -308,9 +308,9 @@ private:
u8 m_vol_enabled[NUM_CHANNELS];
const ay_ym_param *m_par;
const ay_ym_param *m_par_env;
- s32 m_vol_table[NUM_CHANNELS][16];
- s32 m_env_table[NUM_CHANNELS][32];
- std::unique_ptr<s32[]> m_vol3d_table;
+ stream_buffer::sample_t m_vol_table[NUM_CHANNELS][16];
+ stream_buffer::sample_t m_env_table[NUM_CHANNELS][32];
+ std::unique_ptr<stream_buffer::sample_t[]> m_vol3d_table;
int m_flags; /* Flags */
int m_feature; /* Chip specific features */
int m_res_load[3]; /* Load on channel in ohms */