diff options
Diffstat (limited to '')
-rw-r--r-- | src/filter/ReplayGainFilterPlugin.cxx | 2 | ||||
-rw-r--r-- | src/filter_plugin.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/filter/ReplayGainFilterPlugin.cxx b/src/filter/ReplayGainFilterPlugin.cxx index 1c2f40260..f4b1f92ee 100644 --- a/src/filter/ReplayGainFilterPlugin.cxx +++ b/src/filter/ReplayGainFilterPlugin.cxx @@ -25,11 +25,11 @@ #include "audio_format.h" #include "replay_gain_info.h" #include "replay_gain_config.h" +#include "mixer_control.h" extern "C" { #include "pcm_buffer.h" #include "pcm_volume.h" -#include "mixer_control.h" } #include <assert.h> diff --git a/src/filter_plugin.h b/src/filter_plugin.h index d45faee1f..ae14a245c 100644 --- a/src/filter_plugin.h +++ b/src/filter_plugin.h @@ -74,6 +74,10 @@ struct filter_plugin { GError **error_r); }; +#ifdef __cplusplus +extern "C" { +#endif + /** * Creates a new instance of the specified filter plugin. * @@ -147,4 +151,8 @@ filter_filter(struct filter *filter, const void *src, size_t src_size, size_t *dest_size_r, GError **error_r); +#ifdef __cplusplus +} +#endif + #endif |