aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_check.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_check.h')
-rw-r--r--src/audio_check.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio_check.h b/src/audio_check.h
index e2302126f..d4d3f13fd 100644
--- a/src/audio_check.h
+++ b/src/audio_check.h
@@ -35,6 +35,10 @@ audio_format_quark(void)
return g_quark_from_static_string("audio_format");
}
+#ifdef __cplusplus
+extern "C" {
+#endif
+
bool
audio_check_sample_rate(unsigned long sample_rate, GError **error_r);
@@ -52,4 +56,8 @@ audio_format_init_checked(struct audio_format *af, unsigned long sample_rate,
enum sample_format sample_format, unsigned channels,
GError **error_r);
+#ifdef __cplusplus
+}
+#endif
+
#endif