aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_format.h')
-rw-r--r--src/audio_format.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio_format.h b/src/audio_format.h
index d86ade5ee..f9b176bc1 100644
--- a/src/audio_format.h
+++ b/src/audio_format.h
@@ -220,6 +220,10 @@ static inline bool audio_format_equals(const struct audio_format *a,
a->channels == b->channels;
}
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void
audio_format_mask_apply(struct audio_format *af,
const struct audio_format *mask);
@@ -305,4 +309,8 @@ const char *
audio_format_to_string(const struct audio_format *af,
struct audio_format_string *s);
+#ifdef __cplusplus
+}
+#endif
+
#endif