aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain_info.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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