*: include cleanup (using iwyu)

This commit is contained in:
Max Kellermann
2016-03-01 22:08:13 +01:00
parent fb547260d1
commit 1aee89f5ea
181 changed files with 18 additions and 390 deletions

View File

@@ -21,7 +21,6 @@
#define MPD_PCM_CHANNELS_HXX
#include <stdint.h>
#include <stddef.h>
class PcmBuffer;
template<typename T> struct ConstBuffer;

View File

@@ -22,13 +22,10 @@
#include "Domain.hxx"
#include "ConfiguredResampler.hxx"
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "util/ConstBuffer.hxx"
#include <assert.h>
#include <math.h>
bool
pcm_convert_global_init(Error &error)

View File

@@ -21,7 +21,6 @@
#define PCM_CONVERT_HXX
#include "check.h"
#include "PcmBuffer.hxx"
#include "FormatConverter.hxx"
#include "ChannelsConverter.hxx"
#include "GlueResampler.hxx"
@@ -31,11 +30,8 @@
#include "PcmDsd.hxx"
#endif
#include <stddef.h>
template<typename T> struct ConstBuffer;
class Error;
class Domain;
/**
* This object is statically allocated (within another struct), and

View File

@@ -23,7 +23,6 @@
#include "check.h"
#include <stdint.h>
#include <stddef.h>
class PcmBuffer;
template<typename T> struct ConstBuffer;

View File

@@ -29,8 +29,6 @@
#include "PcmDop.hxx"
#endif
#include <iterator>
void
PcmExport::Open(SampleFormat sample_format, unsigned _channels,
Params params)

View File

@@ -24,7 +24,6 @@
#include "PcmBuffer.hxx"
#include "AudioFormat.hxx"
struct AudioFormat;
template<typename T> struct ConstBuffer;
/**

View File

@@ -23,7 +23,6 @@
#include "AudioFormat.hxx"
#include <stdint.h>
#include <stddef.h>
template<typename T> struct ConstBuffer;
class PcmBuffer;

View File

@@ -21,7 +21,6 @@
#include "SoxrResampler.hxx"
#include "AudioFormat.hxx"
#include "config/Block.hxx"
#include "util/ASCII.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"

View File

@@ -20,7 +20,6 @@
#include "config.h"
#include "Volume.hxx"
#include "Domain.hxx"
#include "PcmUtils.hxx"
#include "Traits.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"

View File

@@ -24,9 +24,6 @@
#include "PcmBuffer.hxx"
#include "PcmDither.hxx"
#include <stdint.h>
#include <stddef.h>
#ifndef NDEBUG
#include <assert.h>
#endif
@@ -45,8 +42,6 @@ static constexpr unsigned PCM_VOLUME_BITS = 10;
static constexpr unsigned PCM_VOLUME_1 = 1024;
static constexpr int PCM_VOLUME_1S = PCM_VOLUME_1;
struct AudioFormat;
/**
* Converts a float value (0.0 = silence, 1.0 = 100% volume) to an
* integer volume value (1000 = 100%).