flt_vol.h: use default variable type for m_gain

This commit is contained in:
hap 2022-05-22 20:46:08 +02:00
parent 0d0a6122d9
commit 9c44a96b42

View File

@ -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)