aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain_info.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 09:38:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:07:40 +0100
commit975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch)
treea7df707eb1712c1921367862b35c6265c80bd5a5 /src/replay_gain_info.h
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
downloadmpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.gz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.xz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.zip
decoder_api.h, ...: add "extern C"
Diffstat (limited to 'src/replay_gain_info.h')
-rw-r--r--src/replay_gain_info.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/replay_gain_info.h b/src/replay_gain_info.h
index 9097c3e02..53e2451a3 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