diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 08:49:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 08:49:15 +0100 |
commit | 71c697288b2325011f7302437aac912e88d6b6b4 (patch) | |
tree | 57da9afff12b76297c34a490fd167619c97dc71e | |
parent | a7d1daee93446327b5a0c35d779880354cdbf66e (diff) | |
download | mpd-71c697288b2325011f7302437aac912e88d6b6b4.tar.gz mpd-71c697288b2325011f7302437aac912e88d6b6b4.tar.xz mpd-71c697288b2325011f7302437aac912e88d6b6b4.zip |
pcm_convert: make C++ safe
-rw-r--r-- | src/pcm_convert.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pcm_convert.h b/src/pcm_convert.h index be11a6e41..0668a2b66 100644 --- a/src/pcm_convert.h +++ b/src/pcm_convert.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -25,6 +25,8 @@ #include "pcm_dither.h" #include "pcm_buffer.h" +#include <glib.h> + struct audio_format; /** @@ -52,6 +54,8 @@ pcm_convert_quark(void) return g_quark_from_static_string("pcm_convert"); } +G_BEGIN_DECLS + /** * Initializes a pcm_convert_state object. */ @@ -91,4 +95,6 @@ pcm_convert(struct pcm_convert_state *state, size_t *dest_size_r, GError **error_r); +G_END_DECLS + #endif |