From 71c697288b2325011f7302437aac912e88d6b6b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Jan 2013 08:49:15 +0100 Subject: pcm_convert: make C++ safe --- src/pcm_convert.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 + 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 -- cgit v1.2.3