diff options
author | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
commit | 1aee89f5ea603d24991c73e2479472577aa28d66 (patch) | |
tree | 5ac6038804aa63c3c9a22c613efd734fa5d688fd /src/pcm | |
parent | fb547260d1b992b64c0ffd78e3bc55db86f90bda (diff) |
*: include cleanup (using iwyu)
Diffstat (limited to 'src/pcm')
-rw-r--r-- | src/pcm/PcmChannels.hxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmConvert.cxx | 3 | ||||
-rw-r--r-- | src/pcm/PcmConvert.hxx | 4 | ||||
-rw-r--r-- | src/pcm/PcmDop.hxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmExport.cxx | 2 | ||||
-rw-r--r-- | src/pcm/PcmExport.hxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmFormat.hxx | 1 | ||||
-rw-r--r-- | src/pcm/SoxrResampler.cxx | 1 | ||||
-rw-r--r-- | src/pcm/Volume.cxx | 1 | ||||
-rw-r--r-- | src/pcm/Volume.hxx | 5 |
10 files changed, 0 insertions, 20 deletions
diff --git a/src/pcm/PcmChannels.hxx b/src/pcm/PcmChannels.hxx index 126727a12..1a98ea332 100644 --- a/src/pcm/PcmChannels.hxx +++ b/src/pcm/PcmChannels.hxx @@ -21,7 +21,6 @@ #define MPD_PCM_CHANNELS_HXX #include <stdint.h> -#include <stddef.h> class PcmBuffer; template<typename T> struct ConstBuffer; diff --git a/src/pcm/PcmConvert.cxx b/src/pcm/PcmConvert.cxx index 4160891bd..81bec1c75 100644 --- a/src/pcm/PcmConvert.cxx +++ b/src/pcm/PcmConvert.cxx @@ -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) diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx index b7d616d69..8b49c001f 100644 --- a/src/pcm/PcmConvert.hxx +++ b/src/pcm/PcmConvert.hxx @@ -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 diff --git a/src/pcm/PcmDop.hxx b/src/pcm/PcmDop.hxx index d6f5bb51e..f87f0fd63 100644 --- a/src/pcm/PcmDop.hxx +++ b/src/pcm/PcmDop.hxx @@ -23,7 +23,6 @@ #include "check.h" #include <stdint.h> -#include <stddef.h> class PcmBuffer; template<typename T> struct ConstBuffer; diff --git a/src/pcm/PcmExport.cxx b/src/pcm/PcmExport.cxx index 5a9bf4558..3bb831836 100644 --- a/src/pcm/PcmExport.cxx +++ b/src/pcm/PcmExport.cxx @@ -29,8 +29,6 @@ #include "PcmDop.hxx" #endif -#include <iterator> - void PcmExport::Open(SampleFormat sample_format, unsigned _channels, Params params) diff --git a/src/pcm/PcmExport.hxx b/src/pcm/PcmExport.hxx index dd34e441a..df1fcb5f7 100644 --- a/src/pcm/PcmExport.hxx +++ b/src/pcm/PcmExport.hxx @@ -24,7 +24,6 @@ #include "PcmBuffer.hxx" #include "AudioFormat.hxx" -struct AudioFormat; template<typename T> struct ConstBuffer; /** diff --git a/src/pcm/PcmFormat.hxx b/src/pcm/PcmFormat.hxx index b03fd5ffb..b89c9de05 100644 --- a/src/pcm/PcmFormat.hxx +++ b/src/pcm/PcmFormat.hxx @@ -23,7 +23,6 @@ #include "AudioFormat.hxx" #include <stdint.h> -#include <stddef.h> template<typename T> struct ConstBuffer; class PcmBuffer; diff --git a/src/pcm/SoxrResampler.cxx b/src/pcm/SoxrResampler.cxx index 422d0f085..1b8002115 100644 --- a/src/pcm/SoxrResampler.cxx +++ b/src/pcm/SoxrResampler.cxx @@ -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" diff --git a/src/pcm/Volume.cxx b/src/pcm/Volume.cxx index 2f2016cca..d8f83ad60 100644 --- a/src/pcm/Volume.cxx +++ b/src/pcm/Volume.cxx @@ -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" diff --git a/src/pcm/Volume.hxx b/src/pcm/Volume.hxx index 94c23ab23..5e92fb6fe 100644 --- a/src/pcm/Volume.hxx +++ b/src/pcm/Volume.hxx @@ -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%). |