pcm/Pcm*: drop more "Pcm" prefixes from source file names

This commit is contained in:
Max Kellermann 2019-06-17 11:10:33 +02:00
parent a139279575
commit e87f0ca771
47 changed files with 53 additions and 54 deletions

View File

@ -47,7 +47,7 @@
#include "zeroconf/ZeroconfGlue.hxx" #include "zeroconf/ZeroconfGlue.hxx"
#include "decoder/DecoderList.hxx" #include "decoder/DecoderList.hxx"
#include "AudioParser.hxx" #include "AudioParser.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.hxx"
#include "unix/SignalHandlers.hxx" #include "unix/SignalHandlers.hxx"
#include "thread/Slack.hxx" #include "thread/Slack.hxx"
#include "net/Init.hxx" #include "net/Init.hxx"

View File

@ -22,11 +22,10 @@
#include "Domain.hxx" #include "Domain.hxx"
#include "Control.hxx" #include "Control.hxx"
#include "song/DetachedSong.hxx" #include "song/DetachedSong.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.hxx"
#include "MusicPipe.hxx" #include "MusicPipe.hxx"
#include "MusicBuffer.hxx" #include "MusicBuffer.hxx"
#include "MusicChunk.hxx" #include "MusicChunk.hxx"
#include "pcm/PcmConvert.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"

View File

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

View File

@ -22,7 +22,7 @@
#include "PcmDecoderPlugin.hxx" #include "PcmDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "CheckAudioFormat.hxx" #include "CheckAudioFormat.hxx"
#include "pcm/PcmPack.hxx" #include "pcm/Pack.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"

View File

@ -20,7 +20,7 @@
#include "FlacEncoderPlugin.hxx" #include "FlacEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "pcm/PcmBuffer.hxx" #include "pcm/Buffer.hxx"
#include "config/Domain.hxx" #include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx" #include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -20,7 +20,7 @@
#include "ConvertFilterPlugin.hxx" #include "ConvertFilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.hxx"
#include "util/Manual.hxx" #include "util/Manual.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"

View File

@ -21,7 +21,7 @@
#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/PcmBuffer.hxx" #include "pcm/Buffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "AudioCompress/compress.h" #include "AudioCompress/compress.h"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -46,7 +46,7 @@
#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/PcmBuffer.hxx" #include "pcm/Buffer.hxx"
#include "pcm/Silence.hxx" #include "pcm/Silence.hxx"
#include "util/StringStrip.hxx" #include "util/StringStrip.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -18,7 +18,7 @@
*/ */
#include "DecoderClient.hxx" #include "DecoderClient.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -22,7 +22,7 @@
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "filter/plugins/ReplayGainFilterPlugin.hxx" #include "filter/plugins/ReplayGainFilterPlugin.hxx"
#include "pcm/PcmMix.hxx" #include "pcm/Mix.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"

View File

@ -24,8 +24,8 @@
#include "SharedPipeConsumer.hxx" #include "SharedPipeConsumer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "ReplayGainMode.hxx" #include "ReplayGainMode.hxx"
#include "pcm/PcmBuffer.hxx" #include "pcm/Buffer.hxx"
#include "pcm/PcmDither.hxx" #include "pcm/Dither.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "PcmBuffer.hxx" #include "Buffer.hxx"
void * void *
PcmBuffer::Get(size_t new_size) noexcept PcmBuffer::Get(size_t new_size) noexcept

View File

@ -21,7 +21,7 @@
#define MPD_PCM_CHANNELS_CONVERTER_HXX #define MPD_PCM_CHANNELS_CONVERTER_HXX
#include "SampleFormat.hxx" #include "SampleFormat.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#ifndef NDEBUG #ifndef NDEBUG
#include <assert.h> #include <assert.h>

View File

@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "PcmConvert.hxx" #include "Convert.hxx"
#include "ConfiguredResampler.hxx" #include "ConfiguredResampler.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.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 "PcmDither.hxx" #include "Dither.hxx"
#include "PcmPrng.hxx" #include "Prng.hxx"
#include "Traits.hxx" #include "Traits.hxx"
template<typename T, T MIN, T MAX, unsigned scale_bits> template<typename T, T MIN, T MAX, unsigned scale_bits>

View File

@ -18,7 +18,7 @@
*/ */
#include "Dop.hxx" #include "Dop.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -18,7 +18,7 @@
*/ */
#include "Dsd16.hxx" #include "Dsd16.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
/** /**

View File

@ -18,7 +18,7 @@
*/ */
#include "Dsd32.hxx" #include "Dsd32.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
/** /**

View File

@ -20,7 +20,7 @@
#include "Export.hxx" #include "Export.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "Order.hxx" #include "Order.hxx"
#include "PcmPack.hxx" #include "Pack.hxx"
#include "util/ByteReverse.hxx" #include "util/ByteReverse.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"

View File

@ -21,7 +21,7 @@
#define PCM_EXPORT_HXX #define PCM_EXPORT_HXX
#include "SampleFormat.hxx" #include "SampleFormat.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "config.h" #include "config.h"
template<typename T> struct ConstBuffer; template<typename T> struct ConstBuffer;

View File

@ -21,7 +21,7 @@
#define MPD_PCM_FALLBACK_RESAMPLER_HXX #define MPD_PCM_FALLBACK_RESAMPLER_HXX
#include "Resampler.hxx" #include "Resampler.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"

View File

@ -21,8 +21,8 @@
#define MPD_PCM_FORMAT_CONVERTER_HXX #define MPD_PCM_FORMAT_CONVERTER_HXX
#include "SampleFormat.hxx" #include "SampleFormat.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "PcmDither.hxx" #include "Dither.hxx"
#ifndef NDEBUG #ifndef NDEBUG
#include <assert.h> #include <assert.h>

View File

@ -21,7 +21,7 @@
#define MPD_PCM_LIBSAMPLERATE_RESAMPLER_HXX #define MPD_PCM_LIBSAMPLERATE_RESAMPLER_HXX
#include "Resampler.hxx" #include "Resampler.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"

View File

@ -17,13 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "PcmMix.hxx" #include "Mix.hxx"
#include "Volume.hxx" #include "Volume.hxx"
#include "Clamp.hxx" #include "Clamp.hxx"
#include "Traits.hxx" #include "Traits.hxx"
#include "util/Clamp.hxx" #include "util/Clamp.hxx"
#include "PcmDither.cxx" // including the .cxx file to get inlined templates #include "Dither.cxx" // including the .cxx file to get inlined templates
#include <cmath> #include <cmath>

View File

@ -18,7 +18,7 @@
*/ */
#include "Order.hxx" #include "Order.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
template<typename V> template<typename V>

View File

@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "PcmPack.hxx" #include "Pack.hxx"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
static void static void

View File

@ -18,7 +18,7 @@
*/ */
#include "PcmChannels.hxx" #include "PcmChannels.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "Silence.hxx" #include "Silence.hxx"
#include "Traits.hxx" #include "Traits.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"

View File

@ -20,7 +20,7 @@
#ifndef MPD_PCM_DSD_HXX #ifndef MPD_PCM_DSD_HXX
#define MPD_PCM_DSD_HXX #define MPD_PCM_DSD_HXX
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include <array> #include <array>

View File

@ -18,14 +18,14 @@
*/ */
#include "PcmFormat.hxx" #include "PcmFormat.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "Clamp.hxx" #include "Clamp.hxx"
#include "Traits.hxx" #include "Traits.hxx"
#include "FloatConvert.hxx" #include "FloatConvert.hxx"
#include "ShiftConvert.hxx" #include "ShiftConvert.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "PcmDither.cxx" // including the .cxx file to get inlined templates #include "Dither.cxx" // including the .cxx file to get inlined templates
/** /**
* Wrapper for a class that converts one sample at a time into one * Wrapper for a class that converts one sample at a time into one

View File

@ -21,7 +21,7 @@
#define MPD_PCM_SOXR_RESAMPLER_HXX #define MPD_PCM_SOXR_RESAMPLER_HXX
#include "Resampler.hxx" #include "Resampler.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
struct AudioFormat; struct AudioFormat;

View File

@ -24,7 +24,7 @@
#include "util/WritableBuffer.hxx" #include "util/WritableBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "PcmDither.cxx" // including the .cxx file to get inlined templates #include "Dither.cxx" // including the .cxx file to get inlined templates
#include <assert.h> #include <assert.h>
#include <stdint.h> #include <stdint.h>

View File

@ -21,8 +21,8 @@
#define MPD_PCM_VOLUME_HXX #define MPD_PCM_VOLUME_HXX
#include "SampleFormat.hxx" #include "SampleFormat.hxx"
#include "PcmBuffer.hxx" #include "Buffer.hxx"
#include "PcmDither.hxx" #include "Dither.hxx"
#ifndef NDEBUG #ifndef NDEBUG
#include <assert.h> #include <assert.h>

View File

@ -4,15 +4,15 @@ pcm_sources = [
'../AudioParser.cxx', '../AudioParser.cxx',
'SampleFormat.cxx', 'SampleFormat.cxx',
'Interleave.cxx', 'Interleave.cxx',
'PcmBuffer.cxx', 'Buffer.cxx',
'Export.cxx', 'Export.cxx',
'PcmConvert.cxx', 'Convert.cxx',
'Dop.cxx', 'Dop.cxx',
'Volume.cxx', 'Volume.cxx',
'Silence.cxx', 'Silence.cxx',
'PcmMix.cxx', 'Mix.cxx',
'PcmChannels.cxx', 'PcmChannels.cxx',
'PcmPack.cxx', 'Pack.cxx',
'PcmFormat.cxx', 'PcmFormat.cxx',
'FormatConverter.cxx', 'FormatConverter.cxx',
'ChannelsConverter.cxx', 'ChannelsConverter.cxx',
@ -20,7 +20,7 @@ pcm_sources = [
'GlueResampler.cxx', 'GlueResampler.cxx',
'FallbackResampler.cxx', 'FallbackResampler.cxx',
'ConfiguredResampler.cxx', 'ConfiguredResampler.cxx',
'PcmDither.cxx', 'Dither.cxx',
] ]
if get_option('dsd') if get_option('dsd')

View File

@ -18,7 +18,7 @@
*/ */
#include "ConfigGlue.hxx" #include "ConfigGlue.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.hxx"
#include "lib/chromaprint/DecoderClient.hxx" #include "lib/chromaprint/DecoderClient.hxx"
#include "event/Thread.hxx" #include "event/Thread.hxx"
#include "decoder/DecoderList.hxx" #include "decoder/DecoderList.hxx"

View File

@ -25,7 +25,7 @@
#include "AudioParser.hxx" #include "AudioParser.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/StaticFifoBuffer.hxx" #include "util/StaticFifoBuffer.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"

View File

@ -24,7 +24,7 @@
#include "event/Thread.hxx" #include "event/Thread.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "AudioParser.hxx" #include "AudioParser.hxx"
#include "pcm/PcmConvert.hxx" #include "pcm/Convert.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

@ -19,7 +19,7 @@
#include "test_pcm_util.hxx" #include "test_pcm_util.hxx"
#include "pcm/PcmChannels.hxx" #include "pcm/PcmChannels.hxx"
#include "pcm/PcmBuffer.hxx" #include "pcm/Buffer.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -18,7 +18,7 @@
*/ */
#include "test_pcm_util.hxx" #include "test_pcm_util.hxx"
#include "pcm/PcmDither.cxx" #include "pcm/Dither.cxx"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -19,8 +19,8 @@
#include "test_pcm_util.hxx" #include "test_pcm_util.hxx"
#include "pcm/PcmFormat.hxx" #include "pcm/PcmFormat.hxx"
#include "pcm/PcmDither.hxx" #include "pcm/Dither.hxx"
#include "pcm/PcmBuffer.hxx" #include "pcm/Buffer.hxx"
#include "pcm/SampleFormat.hxx" #include "pcm/SampleFormat.hxx"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -18,8 +18,8 @@
*/ */
#include "test_pcm_util.hxx" #include "test_pcm_util.hxx"
#include "pcm/PcmMix.hxx" #include "pcm/Mix.hxx"
#include "pcm/PcmDither.hxx" #include "pcm/Dither.hxx"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -18,7 +18,7 @@
*/ */
#include "test_pcm_util.hxx" #include "test_pcm_util.hxx"
#include "pcm/PcmPack.hxx" #include "pcm/Pack.hxx"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include <gtest/gtest.h> #include <gtest/gtest.h>