From 9c44a96b422fbfd5d590018903143fd9a317622a Mon Sep 17 00:00:00 2001 From: hap Date: Sun, 22 May 2022 20:46:08 +0200 Subject: [PATCH] flt_vol.h: use default variable type for m_gain --- src/devices/sound/flt_vol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/sound/flt_vol.h b/src/devices/sound/flt_vol.h index 6a3bdab17d5..022a980a6a5 100644 --- a/src/devices/sound/flt_vol.h +++ b/src/devices/sound/flt_vol.h @@ -27,8 +27,8 @@ protected: virtual void sound_stream_update(sound_stream &stream, std::vector const &inputs, std::vector &outputs) override; private: - sound_stream* m_stream; - stream_buffer::sample_t m_gain; + sound_stream* m_stream; + float m_gain; }; DECLARE_DEVICE_TYPE(FILTER_VOLUME, filter_volume_device)