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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user