aboutsummaryrefslogtreecommitdiff
path: root/src/audio_check.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 21:47:12 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 21:47:12 +0100
commitd664baff2699842f2182968f5c26dbf63babdeff (patch)
tree387920b40478228d7c0ba0574c2415dd3ee91a8c /src/audio_check.h
parent3275d4c6fa40c66c410bd279f3571ba36f95c4d6 (diff)
audio_{parser,config}: convert to C++
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 e2302126..d4d3f13f 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