AudioFormat: move to pcm/

This commit is contained in:
Max Kellermann 2020-01-18 20:07:09 +01:00
parent 914ad261ed
commit cd612c4eef
79 changed files with 83 additions and 84 deletions

View File

@ -46,7 +46,7 @@
#include "playlist/PlaylistRegistry.hxx" #include "playlist/PlaylistRegistry.hxx"
#include "zeroconf/ZeroconfGlue.hxx" #include "zeroconf/ZeroconfGlue.hxx"
#include "decoder/DecoderList.hxx" #include "decoder/DecoderList.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "pcm/Convert.hxx" #include "pcm/Convert.hxx"
#include "unix/SignalHandlers.hxx" #include "unix/SignalHandlers.hxx"
#include "thread/Slack.hxx" #include "thread/Slack.hxx"

View File

@ -18,7 +18,7 @@
*/ */
#include "MusicChunk.hxx" #include "MusicChunk.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include <assert.h> #include <assert.h>

View File

@ -26,7 +26,7 @@
#include "util/WritableBuffer.hxx" #include "util/WritableBuffer.hxx"
#ifndef NDEBUG #ifndef NDEBUG
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#endif #endif
#include <memory> #include <memory>

View File

@ -25,7 +25,7 @@
#include "util/Compiler.h" #include "util/Compiler.h"
#ifndef NDEBUG #ifndef NDEBUG
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#endif #endif
/** /**

View File

@ -18,7 +18,7 @@
*/ */
#include "SongSave.hxx" #include "SongSave.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "db/plugins/simple/Song.hxx" #include "db/plugins/simple/Song.hxx"
#include "song/DetachedSong.hxx" #include "song/DetachedSong.hxx"
#include "TagSave.hxx" #include "TagSave.hxx"

View File

@ -29,7 +29,6 @@
#include "Partition.hxx" #include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "IdleFlags.hxx" #include "IdleFlags.hxx"
#include "AudioFormat.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/Exception.hxx" #include "util/Exception.hxx"

View File

@ -23,7 +23,7 @@
#include "Ptr.hxx" #include "Ptr.hxx"
#include "Chrono.hxx" #include "Chrono.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include "config.h" #include "config.h"

View File

@ -21,7 +21,7 @@
#define MPD_DECODER_CONTROL_HXX #define MPD_DECODER_CONTROL_HXX
#include "Command.hxx" #include "Command.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "MixRampInfo.hxx" #include "MixRampInfo.hxx"
#include "input/Handler.hxx" #include "input/Handler.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"

View File

@ -35,7 +35,7 @@
#include "DecoderPlugin.hxx" #include "DecoderPlugin.hxx"
#include "ReplayGainInfo.hxx" #include "ReplayGainInfo.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "MixRampInfo.hxx" #include "MixRampInfo.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "Chrono.hxx" #include "Chrono.hxx"

View File

@ -20,7 +20,7 @@
#include "AdPlugDecoderPlugin.h" #include "AdPlugDecoderPlugin.h"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "util/StringView.hxx" #include "util/StringView.hxx"

View File

@ -20,7 +20,7 @@
#include "AudiofileDecoderPlugin.hxx" #include "AudiofileDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"

View File

@ -30,7 +30,7 @@
#include "DsdiffDecoderPlugin.hxx" #include "DsdiffDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "util/bit_reverse.h" #include "util/bit_reverse.h"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "util/StringView.hxx" #include "util/StringView.hxx"

View File

@ -31,7 +31,7 @@
#include "DsfDecoderPlugin.hxx" #include "DsfDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "util/bit_reverse.h" #include "util/bit_reverse.h"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "DsdLib.hxx" #include "DsdLib.hxx"

View File

@ -21,7 +21,7 @@
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "../DecoderBuffer.hxx" #include "../DecoderBuffer.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -39,7 +39,7 @@
#include "tag/ReplayGain.hxx" #include "tag/ReplayGain.hxx"
#include "tag/MixRamp.hxx" #include "tag/MixRamp.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "LogV.hxx" #include "LogV.hxx"

View File

@ -18,7 +18,7 @@
*/ */
#include "FlacPcm.hxx" #include "FlacPcm.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "lib/xiph/FlacAudioFormat.hxx" #include "lib/xiph/FlacAudioFormat.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -21,7 +21,7 @@
#define MPD_FLAC_PCM_HXX #define MPD_FLAC_PCM_HXX
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include <FLAC/ordinals.h> #include <FLAC/ordinals.h>

View File

@ -19,7 +19,7 @@
#include "FluidsynthDecoderPlugin.hxx" #include "FluidsynthDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Log.hxx" #include "Log.hxx"

View File

@ -20,7 +20,7 @@
#include "GmeDecoderPlugin.hxx" #include "GmeDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "song/DetachedSong.hxx" #include "song/DetachedSong.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "tag/Builder.hxx" #include "tag/Builder.hxx"

View File

@ -26,7 +26,7 @@
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "tag/ReplayGain.hxx" #include "tag/ReplayGain.hxx"
#include "tag/MixRamp.hxx" #include "tag/MixRamp.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "util/Clamp.hxx" #include "util/Clamp.hxx"
#include "util/StringCompare.hxx" #include "util/StringCompare.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"

View File

@ -20,7 +20,7 @@
#include "MpcdecDecoderPlugin.hxx" #include "MpcdecDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "pcm/Traits.hxx" #include "pcm/Traits.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"

View File

@ -19,7 +19,7 @@
#include "Mpg123DecoderPlugin.hxx" #include "Mpg123DecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "tag/Builder.hxx" #include "tag/Builder.hxx"
#include "tag/ReplayGain.hxx" #include "tag/ReplayGain.hxx"

View File

@ -21,7 +21,7 @@
#include "PcmDecoderPlugin.hxx" #include "PcmDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "pcm/Pack.hxx" #include "pcm/Pack.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
@ -33,7 +33,7 @@
#include "Log.hxx" #include "Log.hxx"
#ifdef ENABLE_ALSA #ifdef ENABLE_ALSA
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#endif #endif
#include <exception> #include <exception>

View File

@ -20,7 +20,7 @@
#include "SndfileDecoderPlugin.hxx" #include "SndfileDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"

View File

@ -28,9 +28,9 @@
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "input/Reader.hxx" #include "input/Reader.hxx"
#include "OggCodec.hxx" #include "OggCodec.hxx"
#include "pcm/CheckAudioFormat.hxx"
#include "pcm/Interleave.hxx" #include "pcm/Interleave.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "CheckAudioFormat.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "Log.hxx" #include "Log.hxx"

View File

@ -21,7 +21,7 @@
#include "WavpackDecoderPlugin.hxx" #include "WavpackDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "util/Alloc.hxx" #include "util/Alloc.hxx"

View File

@ -29,7 +29,7 @@
#include "EncoderInterface.hxx" #include "EncoderInterface.hxx"
#include "EncoderPlugin.hxx" #include "EncoderPlugin.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"

View File

@ -19,7 +19,7 @@
#include "FlacEncoderPlugin.hxx" #include "FlacEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "util/DynamicFifoBuffer.hxx" #include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -19,7 +19,7 @@
#include "LameEncoderPlugin.hxx" #include "LameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/ReusableArray.hxx" #include "util/ReusableArray.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -19,7 +19,7 @@
#include "OpusEncoderPlugin.hxx" #include "OpusEncoderPlugin.hxx"
#include "OggEncoder.hxx" #include "OggEncoder.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "util/StringUtil.hxx" #include "util/StringUtil.hxx"

View File

@ -19,7 +19,7 @@
#include "ShineEncoderPlugin.hxx" #include "ShineEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/DynamicFifoBuffer.hxx" #include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -19,7 +19,7 @@
#include "TwolameEncoderPlugin.hxx" #include "TwolameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"

View File

@ -20,7 +20,7 @@
#include "VorbisEncoderPlugin.hxx" #include "VorbisEncoderPlugin.hxx"
#include "OggEncoder.hxx" #include "OggEncoder.hxx"
#include "lib/xiph/VorbisComment.hxx" #include "lib/xiph/VorbisComment.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "config/Domain.hxx" #include "config/Domain.hxx"
#include "util/StringUtil.hxx" #include "util/StringUtil.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"

View File

@ -20,7 +20,7 @@
#ifndef MPD_FILTER_HXX #ifndef MPD_FILTER_HXX
#define MPD_FILTER_HXX #define MPD_FILTER_HXX
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include <assert.h> #include <assert.h>

View File

@ -21,7 +21,7 @@
#include "ConvertFilterPlugin.hxx" #include "ConvertFilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include <memory> #include <memory>

View File

@ -20,7 +20,7 @@
#include "ChainFilterPlugin.hxx" #include "ChainFilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -20,9 +20,9 @@
#include "ConvertFilterPlugin.hxx" #include "ConvertFilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/AudioFormat.hxx"
#include "pcm/Convert.hxx" #include "pcm/Convert.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "AudioFormat.hxx"
#include <memory> #include <memory>

View File

@ -24,7 +24,7 @@
#include "filter/NullFilter.hxx" #include "filter/NullFilter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "lib/ffmpeg/Filter.hxx" #include "lib/ffmpeg/Filter.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
static constexpr const char *hdcd_graph = "hdcd"; static constexpr const char *hdcd_graph = "hdcd";

View File

@ -22,7 +22,7 @@
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "AudioCompress/compress.h" #include "AudioCompress/compress.h"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -20,10 +20,10 @@
#include "ReplayGainFilterPlugin.hxx" #include "ReplayGainFilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainInfo.hxx" #include "ReplayGainInfo.hxx"
#include "ReplayGainConfig.hxx" #include "ReplayGainConfig.hxx"
#include "mixer/MixerControl.hxx" #include "mixer/MixerControl.hxx"
#include "pcm/AudioFormat.hxx"
#include "pcm/Volume.hxx" #include "pcm/Volume.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"

View File

@ -41,10 +41,10 @@
#include "RouteFilterPlugin.hxx" #include "RouteFilterPlugin.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "AudioFormat.hxx"
#include "filter/FilterPlugin.hxx" #include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/AudioFormat.hxx"
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "pcm/Silence.hxx" #include "pcm/Silence.hxx"
#include "util/StringStrip.hxx" #include "util/StringStrip.hxx"

View File

@ -21,7 +21,7 @@
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/Volume.hxx" #include "pcm/Volume.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
class VolumeFilter final : public Filter { class VolumeFilter final : public Filter {

View File

@ -35,8 +35,8 @@
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/ASCII.hxx" #include "util/ASCII.hxx"
#include "util/DivideString.hxx" #include "util/DivideString.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "event/MultiSocketMonitor.hxx" #include "event/MultiSocketMonitor.hxx"
#include "event/DeferEvent.hxx" #include "event/DeferEvent.hxx"

View File

@ -18,7 +18,7 @@
*/ */
#include "AllowedFormat.hxx" #include "AllowedFormat.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "util/IterableSplitString.hxx" #include "util/IterableSplitString.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "config.h" #include "config.h"

View File

@ -20,7 +20,7 @@
#ifndef MPD_ALSA_ALLOWED_FORMAT_HXX #ifndef MPD_ALSA_ALLOWED_FORMAT_HXX
#define MPD_ALSA_ALLOWED_FORMAT_HXX #define MPD_ALSA_ALLOWED_FORMAT_HXX
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "config.h" #include "config.h"
#include <forward_list> #include <forward_list>

View File

@ -22,7 +22,7 @@
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "config.h" #include "config.h"

View File

@ -19,7 +19,7 @@
#include "Filter.hxx" #include "Filter.hxx"
#include "SampleFormat.hxx" #include "SampleFormat.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include <stdio.h> #include <stdio.h>

View File

@ -20,7 +20,7 @@
#include "FlacStreamMetadata.hxx" #include "FlacStreamMetadata.hxx"
#include "FlacAudioFormat.hxx" #include "FlacAudioFormat.hxx"
#include "ScanVorbisComment.hxx" #include "ScanVorbisComment.hxx"
#include "CheckAudioFormat.hxx" #include "pcm/CheckAudioFormat.hxx"
#include "MixRampInfo.hxx" #include "MixRampInfo.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "tag/Builder.hxx" #include "tag/Builder.hxx"

View File

@ -21,7 +21,7 @@
#define MPD_OUTPUT_CONTROL_HXX #define MPD_OUTPUT_CONTROL_HXX
#include "Source.hxx" #include "Source.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "thread/Thread.hxx" #include "thread/Thread.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"

View File

@ -20,7 +20,7 @@
#ifndef MPD_FILTERED_AUDIO_OUTPUT_HXX #ifndef MPD_FILTERED_AUDIO_OUTPUT_HXX
#define MPD_FILTERED_AUDIO_OUTPUT_HXX #define MPD_FILTERED_AUDIO_OUTPUT_HXX
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "filter/Observer.hxx" #include "filter/Observer.hxx"
#include <memory> #include <memory>

View File

@ -22,7 +22,7 @@
#include "Domain.hxx" #include "Domain.hxx"
#include "OutputAPI.hxx" #include "OutputAPI.hxx"
#include "Defaults.hxx" #include "Defaults.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "mixer/MixerList.hxx" #include "mixer/MixerList.hxx"
#include "mixer/MixerType.hxx" #include "mixer/MixerType.hxx"
#include "mixer/MixerControl.hxx" #include "mixer/MixerControl.hxx"

View File

@ -23,7 +23,7 @@
#include "Control.hxx" #include "Control.hxx"
#include "MusicChunkPtr.hxx" #include "MusicChunkPtr.hxx"
#include "player/Outputs.hxx" #include "player/Outputs.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "ReplayGainMode.hxx" #include "ReplayGainMode.hxx"
#include "Chrono.hxx" #include "Chrono.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"

View File

@ -24,7 +24,7 @@
#include "OutputPlugin.hxx" #include "OutputPlugin.hxx"
#include "Interface.hxx" #include "Interface.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"

View File

@ -21,8 +21,8 @@
#define AUDIO_OUTPUT_SOURCE_HXX #define AUDIO_OUTPUT_SOURCE_HXX
#include "SharedPipeConsumer.hxx" #include "SharedPipeConsumer.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainMode.hxx" #include "ReplayGainMode.hxx"
#include "pcm/AudioFormat.hxx"
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "pcm/Dither.hxx" #include "pcm/Dither.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"

View File

@ -18,7 +18,7 @@
*/ */
#include "Timer.hxx" #include "Timer.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include <assert.h> #include <assert.h>

View File

@ -1,7 +1,7 @@
pcm_basic_sources = [ pcm_basic_sources = [
'../CheckAudioFormat.cxx', 'CheckAudioFormat.cxx',
'../AudioFormat.cxx', 'AudioFormat.cxx',
'../AudioParser.cxx', 'AudioParser.cxx',
'SampleFormat.cxx', 'SampleFormat.cxx',
'Interleave.cxx', 'Interleave.cxx',
'Buffer.cxx', 'Buffer.cxx',

View File

@ -21,7 +21,7 @@
#define MPD_PLAYER_CONTROL_HXX #define MPD_PLAYER_CONTROL_HXX
#include "output/Client.hxx" #include "output/Client.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"
#include "thread/Thread.hxx" #include "thread/Thread.hxx"

View File

@ -20,7 +20,7 @@
#include "CrossFade.hxx" #include "CrossFade.hxx"
#include "Chrono.hxx" #include "Chrono.hxx"
#include "MusicChunk.hxx" #include "MusicChunk.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "Log.hxx" #include "Log.hxx"

View File

@ -21,7 +21,7 @@
#define MPD_AUDIO_FORMAT_SONG_FILTER_HXX #define MPD_AUDIO_FORMAT_SONG_FILTER_HXX
#include "ISongFilter.hxx" #include "ISongFilter.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
class AudioFormatSongFilter final : public ISongFilter { class AudioFormatSongFilter final : public ISongFilter {
AudioFormat value; AudioFormat value;

View File

@ -25,7 +25,7 @@
#include "TagSongFilter.hxx" #include "TagSongFilter.hxx"
#include "ModifiedSinceSongFilter.hxx" #include "ModifiedSinceSongFilter.hxx"
#include "AudioFormatSongFilter.hxx" #include "AudioFormatSongFilter.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "tag/ParseName.hxx" #include "tag/ParseName.hxx"
#include "time/ISO8601.hxx" #include "time/ISO8601.hxx"
#include "util/CharUtil.hxx" #include "util/CharUtil.hxx"

View File

@ -21,7 +21,7 @@
#define MPD_LIGHT_SONG_HXX #define MPD_LIGHT_SONG_HXX
#include "Chrono.hxx" #include "Chrono.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include <string> #include <string>

View File

@ -19,7 +19,7 @@
#include "Handler.hxx" #include "Handler.hxx"
#include "Builder.hxx" #include "Builder.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/CharUtil.hxx" #include "util/CharUtil.hxx"
#include "util/StringView.hxx" #include "util/StringView.hxx"

View File

@ -27,7 +27,7 @@
#include "input/Init.hxx" #include "input/Init.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/OptionDef.hxx" #include "util/OptionDef.hxx"
#include "util/OptionParser.hxx" #include "util/OptionParser.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"

View File

@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -27,7 +27,7 @@
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "tag/Generic.hxx" #include "tag/Generic.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "util/StringView.hxx" #include "util/StringView.hxx"

View File

@ -23,8 +23,8 @@
* *
*/ */
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "pcm/Convert.hxx" #include "pcm/Convert.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/StaticFifoBuffer.hxx" #include "util/StaticFifoBuffer.hxx"

View File

@ -26,7 +26,7 @@
#include "input/Init.hxx" #include "input/Init.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/OptionDef.hxx" #include "util/OptionDef.hxx"
#include "util/OptionParser.hxx" #include "util/OptionParser.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"

View File

@ -21,8 +21,8 @@
#include "encoder/EncoderPlugin.hxx" #include "encoder/EncoderPlugin.hxx"
#include "encoder/EncoderInterface.hxx" #include "encoder/EncoderInterface.hxx"
#include "encoder/ToOutputStream.hxx" #include "encoder/ToOutputStream.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "fs/io/StdioOutputStream.hxx" #include "fs/io/StdioOutputStream.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"

View File

@ -19,11 +19,11 @@
#include "ConfigGlue.hxx" #include "ConfigGlue.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
#include "filter/LoadOne.hxx" #include "filter/LoadOne.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/AudioParser.hxx"
#include "pcm/AudioFormat.hxx"
#include "pcm/Volume.hxx" #include "pcm/Volume.hxx"
#include "mixer/MixerControl.hxx" #include "mixer/MixerControl.hxx"
#include "system/Error.hxx" #include "system/Error.hxx"

View File

@ -24,8 +24,8 @@
*/ */
#include "AudioCompress/compress.h" #include "AudioCompress/compress.h"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"
#include <stdexcept> #include <stdexcept>

View File

@ -23,8 +23,8 @@
#include "ConfigGlue.hxx" #include "ConfigGlue.hxx"
#include "event/Thread.hxx" #include "event/Thread.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"

View File

@ -24,8 +24,8 @@
*/ */
#include "pcm/Volume.hxx" #include "pcm/Volume.hxx"
#include "AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"

View File

@ -21,7 +21,7 @@
#include "encoder/EncoderPlugin.hxx" #include "encoder/EncoderPlugin.hxx"
#include "encoder/EncoderInterface.hxx" #include "encoder/EncoderInterface.hxx"
#include "encoder/ToOutputStream.hxx" #include "encoder/ToOutputStream.hxx"
#include "AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "fs/io/StdioOutputStream.hxx" #include "fs/io/StdioOutputStream.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"