*: include cleanup (using iwyu)
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#define MPD_PCM_CHANNELS_HXX
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
class PcmBuffer;
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -23,7 +23,6 @@
|
||||
#include "check.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
class PcmBuffer;
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
@@ -29,8 +29,6 @@
|
||||
#include "PcmDop.hxx"
|
||||
#endif
|
||||
|
||||
#include <iterator>
|
||||
|
||||
void
|
||||
PcmExport::Open(SampleFormat sample_format, unsigned _channels,
|
||||
Params params)
|
||||
|
@@ -24,7 +24,6 @@
|
||||
#include "PcmBuffer.hxx"
|
||||
#include "AudioFormat.hxx"
|
||||
|
||||
struct AudioFormat;
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
||||
/**
|
||||
|
@@ -23,7 +23,6 @@
|
||||
#include "AudioFormat.hxx"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
template<typename T> struct ConstBuffer;
|
||||
class PcmBuffer;
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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%).
|
||||
|
Reference in New Issue
Block a user