summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/samples.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/samples.h')
-rw-r--r--src/devices/sound/samples.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/devices/sound/samples.h b/src/devices/sound/samples.h
index aae6aa2cef1..394af9d0fdf 100644
--- a/src/devices/sound/samples.h
+++ b/src/devices/sound/samples.h
@@ -85,19 +85,18 @@ protected:
virtual void device_post_load() override;
// device_sound_interface 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;
// internal classes
struct channel_t
{
sound_stream * stream;
- const int16_t * source;
- int32_t source_length;
- int32_t source_num;
- uint32_t pos;
- uint32_t frac;
- uint32_t step;
- uint32_t basefreq;
+ const int16_t * source;
+ int32_t source_num;
+ uint32_t source_len;
+ double pos;
+ uint32_t basefreq;
+ uint32_t curfreq;
bool loop;
bool paused;
};