clean up CPP includes

Include only headers which are really required.  This speeds up
compilation and helps detect cross-layer accesses.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:03 +02:00
parent a383f45117
commit b6909da758
19 changed files with 1 additions and 79 deletions

View File

@@ -26,12 +26,6 @@
#include "_flac_common.h"
#include "../log.h"
#include "../tag.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../decode.h"
#include "../replayGain.h"
#include "../os_compat.h"
#include <FLAC/format.h>
#include <FLAC/metadata.h>

View File

@@ -26,10 +26,6 @@
#if defined(HAVE_FLAC) || defined(HAVE_OGGFLAC)
#include "../tag.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../decode.h"
#include <FLAC/export.h>
#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
# include <FLAC/seekable_stream_decoder.h>

View File

@@ -28,7 +28,6 @@
(defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7)
#include "../utils.h"
#include "../os_compat.h"
ogg_stream_type ogg_stream_type_detect(InputStream * inStream)
{

View File

@@ -23,11 +23,7 @@
#define AAC_MAX_CHANNELS 6
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../os_compat.h"
#include <faad.h>

View File

@@ -22,12 +22,7 @@
#ifdef HAVE_AUDIOFILE
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../playerData.h"
#include "../os_compat.h"
#include <audiofile.h>

View File

@@ -22,12 +22,6 @@
#include "../utils.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../replayGain.h"
#include "../audio.h"
#include "../os_compat.h"
/* this code was based on flac123, from flac-tools */

View File

@@ -21,11 +21,7 @@
#ifdef HAVE_MIKMOD
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../playerData.h"
#include "../os_compat.h"
#include <mikmod.h>

View File

@@ -20,7 +20,6 @@
#ifdef HAVE_MAD
#include "../pcm_utils.h"
#include <mad.h>
#ifdef HAVE_ID3TAG
@@ -29,12 +28,8 @@
#include "../log.h"
#include "../utils.h"
#include "../replayGain.h"
#include "../tag.h"
#include "../conf.h"
#include "../os_compat.h"
#define FRAMES_CUSHION 2000
#define READ_BUFFER_SIZE 40960

View File

@@ -21,13 +21,7 @@
#ifdef HAVE_FAAD
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../decode.h"
#include "../os_compat.h"
#include "../mp4ff/mp4ff.h"

View File

@@ -21,13 +21,7 @@
#ifdef HAVE_MPCDEC
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../replayGain.h"
#include "../os_compat.h"
#include <mpcdec/mpcdec.h>

View File

@@ -27,12 +27,6 @@
#include "../utils.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../replayGain.h"
#include "../audio.h"
#include "../os_compat.h"
static void oggflac_cleanup(FlacData * data,
OggFLAC__SeekableStreamDecoder * decoder)

View File

@@ -25,13 +25,7 @@
#include "_ogg_common.h"
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../inputStream.h"
#include "../outputBuffer.h"
#include "../replayGain.h"
#include "../os_compat.h"
#ifndef HAVE_TREMOR
#include <vorbis/vorbisfile.h>

View File

@@ -23,12 +23,7 @@
#ifdef HAVE_WAVPACK
#include "../utils.h"
#include "../audio.h"
#include "../log.h"
#include "../pcm_utils.h"
#include "../playerData.h"
#include "../outputBuffer.h"
#include "../os_compat.h"
#include "../path.h"
#include <wavpack/wavpack.h>