aboutsummaryrefslogtreecommitdiff
path: root/src/audio_format.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/audio_format.h
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
decoder_api.h, ...: add "extern C"
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 d86ade5e..f9b176bc 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