decoder_api.h, ...: add "extern C"

This commit is contained in:
Max Kellermann
2013-01-07 09:38:02 +01:00
parent c3c776bc6a
commit 975370c084
49 changed files with 94 additions and 84 deletions

View File

@@ -20,9 +20,9 @@
#include "config.h"
#include "AdPlugDecoderPlugin.h"
#include "tag_handler.h"
#include "decoder_api.h"
extern "C" {
#include "decoder_api.h"
#include "audio_check.h"
}

View File

@@ -25,9 +25,9 @@
#define MPD_FLAC_COMMON_HXX
#include "FLACInput.hxx"
#include "decoder_api.h"
extern "C" {
#include "decoder_api.h"
#include "pcm_buffer.h"
}

View File

@@ -21,10 +21,7 @@
#define MPD_FLAC_IO_HANDLE_HXX
#include "gcc.h"
extern "C" {
#include "input_stream.h"
}
#include <FLAC/callback.h>

View File

@@ -19,12 +19,9 @@
#include "config.h"
#include "FLACInput.hxx"
#include "gcc.h"
extern "C" {
#include "input_stream.h"
#include "decoder_api.h"
}
#include "gcc.h"
#include "input_stream.h"
FLAC__StreamDecoderReadStatus
FLACInput::Read(FLAC__byte buffer[], size_t *bytes)

View File

@@ -22,12 +22,12 @@
extern "C" {
#include "XiphTags.h"
#include "replay_gain_info.h"
#include "tag.h"
}
#include "tag.h"
#include "tag_handler.h"
#include "tag_table.h"
#include "replay_gain_info.h"
#include <glib.h>

View File

@@ -19,10 +19,7 @@
#include "config.h"
#include "OggUtil.hxx"
extern "C" {
#include "decoder_api.h"
}
bool
OggFeed(ogg_sync_state &oy, struct decoder *decoder,

View File

@@ -22,10 +22,10 @@
#include "OpusHead.hxx"
#include "OpusTags.hxx"
#include "OggUtil.hxx"
#include "decoder_api.h"
extern "C" {
#include "ogg_codec.h"
#include "decoder_api.h"
}
#include "audio_check.h"

View File

@@ -18,9 +18,9 @@
*/
#include "config.h"
#include "../decoder_api.h"
extern "C" {
#include "../decoder_api.h"
#include "tag_handler.h"
}