summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-05-22 20:46:08 +0200
committer hap <happppp@users.noreply.github.com>2022-05-22 20:46:20 +0200
commit9c44a96b422fbfd5d590018903143fd9a317622a (patch)
tree4c105d55128f9b28d91094f6cf3cbe9984b83bf4
parent0d0a6122d933a9eb129e3a426c6c650328ef57c8 (diff)
flt_vol.h: use default variable type for m_gain
-rw-r--r--src/devices/sound/flt_vol.h4
1 files 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<read_stream_view> const &inputs, std::vector<write_stream_view> &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)