diff options
Diffstat (limited to 'src/audio_check.h')
-rw-r--r-- | src/audio_check.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/audio_check.h b/src/audio_check.h index 9f71cf9c0..d4d3f13fd 100644 --- a/src/audio_check.h +++ b/src/audio_check.h @@ -28,13 +28,17 @@ /** * The GLib quark used for errors reported by this library. */ -G_GNUC_CONST +gcc_const static inline GQuark 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 |