diff options
Diffstat (limited to 'src/filter')
-rw-r--r-- | src/filter/ReplayGainFilterPlugin.cxx | 6 | ||||
-rw-r--r-- | src/filter/ReplayGainFilterPlugin.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/filter/ReplayGainFilterPlugin.cxx b/src/filter/ReplayGainFilterPlugin.cxx index fed474bd5..f590d57f5 100644 --- a/src/filter/ReplayGainFilterPlugin.cxx +++ b/src/filter/ReplayGainFilterPlugin.cxx @@ -43,7 +43,7 @@ class ReplayGainFilter final : public Filter { * If set, then this hardware mixer is used for applying * replay gain, instead of the software volume library. */ - struct mixer *mixer; + Mixer *mixer; /** * The base volume level for scale=1.0, between 1 and 100 @@ -80,7 +80,7 @@ public: replay_gain_info_init(&info); } - void SetMixer(struct mixer *_mixer, unsigned _base) { + void SetMixer(Mixer *_mixer, unsigned _base) { assert(_mixer == NULL || (_base > 0 && _base <= 100)); mixer = _mixer; @@ -217,7 +217,7 @@ const struct filter_plugin replay_gain_filter_plugin = { }; void -replay_gain_filter_set_mixer(Filter *_filter, struct mixer *mixer, +replay_gain_filter_set_mixer(Filter *_filter, Mixer *mixer, unsigned base) { ReplayGainFilter *filter = (ReplayGainFilter *)_filter; diff --git a/src/filter/ReplayGainFilterPlugin.hxx b/src/filter/ReplayGainFilterPlugin.hxx index dd8ceb953..06b778f8f 100644 --- a/src/filter/ReplayGainFilterPlugin.hxx +++ b/src/filter/ReplayGainFilterPlugin.hxx @@ -23,7 +23,7 @@ #include "replay_gain_info.h" class Filter; -struct mixer; +class Mixer; /** * Enables or disables the hardware mixer for applying replay gain. @@ -34,7 +34,7 @@ struct mixer; * (including). */ void -replay_gain_filter_set_mixer(Filter *_filter, struct mixer *mixer, +replay_gain_filter_set_mixer(Filter *_filter, Mixer *mixer, unsigned base); /** |