From 975370c084c8d679ff2cc2fcee48326b1dbcbf2e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 09:38:02 +0100 Subject: decoder_api.h, ...: add "extern C" --- src/replay_gain_info.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/replay_gain_info.h') diff --git a/src/replay_gain_info.h b/src/replay_gain_info.h index 9097c3e0..53e2451a 100644 --- a/src/replay_gain_info.h +++ b/src/replay_gain_info.h @@ -61,6 +61,10 @@ replay_gain_tuple_defined(const struct replay_gain_tuple *tuple) return !isinf(tuple->gain); } +#ifdef __cplusplus +extern "C" { +#endif + float replay_gain_tuple_scale(const struct replay_gain_tuple *tuple, float preamp, float missing_preamp, bool peak_limit); @@ -71,4 +75,8 @@ replay_gain_tuple_scale(const struct replay_gain_tuple *tuple, float preamp, flo void replay_gain_info_complete(struct replay_gain_info *info); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3