diff options
author | Max Kellermann <max@duempel.org> | 2013-02-01 18:40:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-02 09:34:07 +0100 |
commit | a9ce0218c1879a752c9d9ec6ef21fcf44eab51ab (patch) | |
tree | f30de05c9f0a45906d31d2d4a3dad2281fe8d49c /src/mixer | |
parent | 7bb5a960fde46363adf888db5b05b7b883d2b16b (diff) | |
download | mpd-a9ce0218c1879a752c9d9ec6ef21fcf44eab51ab.tar.gz mpd-a9ce0218c1879a752c9d9ec6ef21fcf44eab51ab.tar.xz mpd-a9ce0218c1879a752c9d9ec6ef21fcf44eab51ab.zip |
FilterInternal: convert struct filter to a OO interface
Diffstat (limited to '')
-rw-r--r-- | src/mixer/SoftwareMixerPlugin.cxx | 4 | ||||
-rw-r--r-- | src/mixer/SoftwareMixerPlugin.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mixer/SoftwareMixerPlugin.cxx b/src/mixer/SoftwareMixerPlugin.cxx index 9b8f083f4..16463938f 100644 --- a/src/mixer/SoftwareMixerPlugin.cxx +++ b/src/mixer/SoftwareMixerPlugin.cxx @@ -32,7 +32,7 @@ struct software_mixer { /** the base mixer class */ struct mixer base; - struct filter *filter; + Filter *filter; unsigned volume; }; @@ -100,7 +100,7 @@ const struct mixer_plugin software_mixer_plugin = { true, }; -struct filter * +Filter * software_mixer_get_filter(struct mixer *mixer) { struct software_mixer *sm = (struct software_mixer *)mixer; diff --git a/src/mixer/SoftwareMixerPlugin.hxx b/src/mixer/SoftwareMixerPlugin.hxx index 9a625868d..33e9e6c6f 100644 --- a/src/mixer/SoftwareMixerPlugin.hxx +++ b/src/mixer/SoftwareMixerPlugin.hxx @@ -21,13 +21,13 @@ #define MPD_SOFTWARE_MIXER_PLUGIN_HXX struct mixer; -struct filter; +class Filter; /** * Returns the (volume) filter associated with this mixer. All users * of this mixer plugin should install this filter. */ -struct filter * +Filter * software_mixer_get_filter(struct mixer *mixer); #endif |