Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e87f0ca7
Commit
e87f0ca7
authored
Jun 17, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm/Pcm*: drop more "Pcm" prefixes from source file names
parent
a1392795
Show whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
53 additions
and
54 deletions
+53
-54
Main.cxx
src/Main.cxx
+1
-1
Bridge.cxx
src/decoder/Bridge.cxx
+1
-2
FlacPcm.hxx
src/decoder/plugins/FlacPcm.hxx
+1
-1
PcmDecoderPlugin.cxx
src/decoder/plugins/PcmDecoderPlugin.cxx
+1
-1
FlacEncoderPlugin.cxx
src/encoder/plugins/FlacEncoderPlugin.cxx
+1
-1
ConvertFilterPlugin.cxx
src/filter/plugins/ConvertFilterPlugin.cxx
+1
-1
NormalizeFilterPlugin.cxx
src/filter/plugins/NormalizeFilterPlugin.cxx
+1
-1
RouteFilterPlugin.cxx
src/filter/plugins/RouteFilterPlugin.cxx
+1
-1
DecoderClient.cxx
src/lib/chromaprint/DecoderClient.cxx
+1
-1
Source.cxx
src/output/Source.cxx
+1
-1
Source.hxx
src/output/Source.hxx
+2
-2
Buffer.cxx
src/pcm/Buffer.cxx
+1
-1
Buffer.hxx
src/pcm/Buffer.hxx
+0
-0
ChannelsConverter.hxx
src/pcm/ChannelsConverter.hxx
+1
-1
Convert.cxx
src/pcm/Convert.cxx
+1
-1
Convert.hxx
src/pcm/Convert.hxx
+0
-0
Dither.cxx
src/pcm/Dither.cxx
+2
-2
Dither.hxx
src/pcm/Dither.hxx
+0
-0
Dop.cxx
src/pcm/Dop.cxx
+1
-1
Dsd16.cxx
src/pcm/Dsd16.cxx
+1
-1
Dsd32.cxx
src/pcm/Dsd32.cxx
+1
-1
Export.cxx
src/pcm/Export.cxx
+1
-1
Export.hxx
src/pcm/Export.hxx
+1
-1
FallbackResampler.hxx
src/pcm/FallbackResampler.hxx
+1
-1
FormatConverter.hxx
src/pcm/FormatConverter.hxx
+2
-2
LibsamplerateResampler.hxx
src/pcm/LibsamplerateResampler.hxx
+1
-1
Mix.cxx
src/pcm/Mix.cxx
+2
-2
Mix.hxx
src/pcm/Mix.hxx
+0
-0
Order.cxx
src/pcm/Order.cxx
+1
-1
Pack.cxx
src/pcm/Pack.cxx
+1
-1
Pack.hxx
src/pcm/Pack.hxx
+0
-0
PcmChannels.cxx
src/pcm/PcmChannels.cxx
+1
-1
PcmDsd.hxx
src/pcm/PcmDsd.hxx
+1
-1
PcmFormat.cxx
src/pcm/PcmFormat.cxx
+2
-2
Prng.hxx
src/pcm/Prng.hxx
+0
-0
SoxrResampler.hxx
src/pcm/SoxrResampler.hxx
+1
-1
Volume.cxx
src/pcm/Volume.cxx
+1
-1
Volume.hxx
src/pcm/Volume.hxx
+2
-2
meson.build
src/pcm/meson.build
+5
-5
RunChromaprint.cxx
test/RunChromaprint.cxx
+1
-1
run_convert.cxx
test/run_convert.cxx
+1
-1
run_output.cxx
test/run_output.cxx
+1
-1
test_pcm_channels.cxx
test/test_pcm_channels.cxx
+1
-1
test_pcm_dither.cxx
test/test_pcm_dither.cxx
+1
-1
test_pcm_format.cxx
test/test_pcm_format.cxx
+2
-2
test_pcm_mix.cxx
test/test_pcm_mix.cxx
+2
-2
test_pcm_pack.cxx
test/test_pcm_pack.cxx
+1
-1
No files found.
src/Main.cxx
View file @
e87f0ca7
...
...
@@ -47,7 +47,7 @@
#include "zeroconf/ZeroconfGlue.hxx"
#include "decoder/DecoderList.hxx"
#include "AudioParser.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "unix/SignalHandlers.hxx"
#include "thread/Slack.hxx"
#include "net/Init.hxx"
...
...
src/decoder/Bridge.cxx
View file @
e87f0ca7
...
...
@@ -22,11 +22,10 @@
#include "Domain.hxx"
#include "Control.hxx"
#include "song/DetachedSong.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "MusicPipe.hxx"
#include "MusicBuffer.hxx"
#include "MusicChunk.hxx"
#include "pcm/PcmConvert.hxx"
#include "tag/Tag.hxx"
#include "Log.hxx"
#include "input/InputStream.hxx"
...
...
src/decoder/plugins/FlacPcm.hxx
View file @
e87f0ca7
...
...
@@ -20,7 +20,7 @@
#ifndef MPD_FLAC_PCM_HXX
#define MPD_FLAC_PCM_HXX
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/Buffer.hxx"
#include "AudioFormat.hxx"
#include <FLAC/ordinals.h>
...
...
src/decoder/plugins/PcmDecoderPlugin.cxx
View file @
e87f0ca7
...
...
@@ -22,7 +22,7 @@
#include "PcmDecoderPlugin.hxx"
#include "../DecoderAPI.hxx"
#include "CheckAudioFormat.hxx"
#include "pcm/P
cmP
ack.hxx"
#include "pcm/Pack.hxx"
#include "input/InputStream.hxx"
#include "util/ByteOrder.hxx"
#include "util/Domain.hxx"
...
...
src/encoder/plugins/FlacEncoderPlugin.cxx
View file @
e87f0ca7
...
...
@@ -20,7 +20,7 @@
#include "FlacEncoderPlugin.hxx"
#include "../EncoderAPI.hxx"
#include "AudioFormat.hxx"
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/Buffer.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx"
...
...
src/filter/plugins/ConvertFilterPlugin.cxx
View file @
e87f0ca7
...
...
@@ -20,7 +20,7 @@
#include "ConvertFilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "util/Manual.hxx"
#include "util/ConstBuffer.hxx"
#include "AudioFormat.hxx"
...
...
src/filter/plugins/NormalizeFilterPlugin.cxx
View file @
e87f0ca7
...
...
@@ -21,7 +21,7 @@
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/Buffer.hxx"
#include "AudioFormat.hxx"
#include "AudioCompress/compress.h"
#include "util/ConstBuffer.hxx"
...
...
src/filter/plugins/RouteFilterPlugin.cxx
View file @
e87f0ca7
...
...
@@ -46,7 +46,7 @@
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/Buffer.hxx"
#include "pcm/Silence.hxx"
#include "util/StringStrip.hxx"
#include "util/RuntimeError.hxx"
...
...
src/lib/chromaprint/DecoderClient.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "DecoderClient.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "input/InputStream.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/output/Source.cxx
View file @
e87f0ca7
...
...
@@ -22,7 +22,7 @@
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/plugins/ReplayGainFilterPlugin.hxx"
#include "pcm/
Pcm
Mix.hxx"
#include "pcm/Mix.hxx"
#include "thread/Mutex.hxx"
#include "util/ConstBuffer.hxx"
#include "util/RuntimeError.hxx"
...
...
src/output/Source.hxx
View file @
e87f0ca7
...
...
@@ -24,8 +24,8 @@
#include "SharedPipeConsumer.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainMode.hxx"
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/
Pcm
Dither.hxx"
#include "pcm/Buffer.hxx"
#include "pcm/Dither.hxx"
#include "thread/Mutex.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/pcm/
Pcm
Buffer.cxx
→
src/pcm/Buffer.cxx
View file @
e87f0ca7
...
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
void
*
PcmBuffer
::
Get
(
size_t
new_size
)
noexcept
...
...
src/pcm/
Pcm
Buffer.hxx
→
src/pcm/Buffer.hxx
View file @
e87f0ca7
File moved
src/pcm/ChannelsConverter.hxx
View file @
e87f0ca7
...
...
@@ -21,7 +21,7 @@
#define MPD_PCM_CHANNELS_CONVERTER_HXX
#include "SampleFormat.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#ifndef NDEBUG
#include <assert.h>
...
...
src/pcm/
Pcm
Convert.cxx
→
src/pcm/Convert.cxx
View file @
e87f0ca7
...
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
Pcm
Convert.hxx"
#include "Convert.hxx"
#include "ConfiguredResampler.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/pcm/
Pcm
Convert.hxx
→
src/pcm/Convert.hxx
View file @
e87f0ca7
File moved
src/pcm/
Pcm
Dither.cxx
→
src/pcm/Dither.cxx
View file @
e87f0ca7
...
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
Pcm
Dither.hxx"
#include "P
cmP
rng.hxx"
#include "Dither.hxx"
#include "Prng.hxx"
#include "Traits.hxx"
template
<
typename
T
,
T
MIN
,
T
MAX
,
unsigned
scale_bits
>
...
...
src/pcm/
Pcm
Dither.hxx
→
src/pcm/Dither.hxx
View file @
e87f0ca7
File moved
src/pcm/Dop.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "Dop.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/pcm/Dsd16.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "Dsd16.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "util/ConstBuffer.hxx"
/**
...
...
src/pcm/Dsd32.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "Dsd32.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "util/ConstBuffer.hxx"
/**
...
...
src/pcm/Export.cxx
View file @
e87f0ca7
...
...
@@ -20,7 +20,7 @@
#include "Export.hxx"
#include "AudioFormat.hxx"
#include "Order.hxx"
#include "P
cmP
ack.hxx"
#include "Pack.hxx"
#include "util/ByteReverse.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/pcm/Export.hxx
View file @
e87f0ca7
...
...
@@ -21,7 +21,7 @@
#define PCM_EXPORT_HXX
#include "SampleFormat.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "config.h"
template
<
typename
T
>
struct
ConstBuffer
;
...
...
src/pcm/FallbackResampler.hxx
View file @
e87f0ca7
...
...
@@ -21,7 +21,7 @@
#define MPD_PCM_FALLBACK_RESAMPLER_HXX
#include "Resampler.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h"
...
...
src/pcm/FormatConverter.hxx
View file @
e87f0ca7
...
...
@@ -21,8 +21,8 @@
#define MPD_PCM_FORMAT_CONVERTER_HXX
#include "SampleFormat.hxx"
#include "
Pcm
Buffer.hxx"
#include "
Pcm
Dither.hxx"
#include "Buffer.hxx"
#include "Dither.hxx"
#ifndef NDEBUG
#include <assert.h>
...
...
src/pcm/LibsamplerateResampler.hxx
View file @
e87f0ca7
...
...
@@ -21,7 +21,7 @@
#define MPD_PCM_LIBSAMPLERATE_RESAMPLER_HXX
#include "Resampler.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h"
...
...
src/pcm/
Pcm
Mix.cxx
→
src/pcm/Mix.cxx
View file @
e87f0ca7
...
...
@@ -17,13 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
Pcm
Mix.hxx"
#include "Mix.hxx"
#include "Volume.hxx"
#include "Clamp.hxx"
#include "Traits.hxx"
#include "util/Clamp.hxx"
#include "
Pcm
Dither.cxx" // including the .cxx file to get inlined templates
#include "Dither.cxx" // including the .cxx file to get inlined templates
#include <cmath>
...
...
src/pcm/
Pcm
Mix.hxx
→
src/pcm/Mix.hxx
View file @
e87f0ca7
File moved
src/pcm/Order.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "Order.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "util/ConstBuffer.hxx"
template
<
typename
V
>
...
...
src/pcm/P
cmP
ack.cxx
→
src/pcm/Pack.cxx
View file @
e87f0ca7
...
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "P
cmP
ack.hxx"
#include "Pack.hxx"
#include "util/ByteOrder.hxx"
static
void
...
...
src/pcm/P
cmP
ack.hxx
→
src/pcm/Pack.hxx
View file @
e87f0ca7
File moved
src/pcm/PcmChannels.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "PcmChannels.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "Silence.hxx"
#include "Traits.hxx"
#include "AudioFormat.hxx"
...
...
src/pcm/PcmDsd.hxx
View file @
e87f0ca7
...
...
@@ -20,7 +20,7 @@
#ifndef MPD_PCM_DSD_HXX
#define MPD_PCM_DSD_HXX
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "AudioFormat.hxx"
#include <array>
...
...
src/pcm/PcmFormat.cxx
View file @
e87f0ca7
...
...
@@ -18,14 +18,14 @@
*/
#include "PcmFormat.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "Clamp.hxx"
#include "Traits.hxx"
#include "FloatConvert.hxx"
#include "ShiftConvert.hxx"
#include "util/ConstBuffer.hxx"
#include "
Pcm
Dither.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
...
...
src/pcm/P
cmP
rng.hxx
→
src/pcm/Prng.hxx
View file @
e87f0ca7
File moved
src/pcm/SoxrResampler.hxx
View file @
e87f0ca7
...
...
@@ -21,7 +21,7 @@
#define MPD_PCM_SOXR_RESAMPLER_HXX
#include "Resampler.hxx"
#include "
Pcm
Buffer.hxx"
#include "Buffer.hxx"
#include "util/Compiler.h"
struct
AudioFormat
;
...
...
src/pcm/Volume.cxx
View file @
e87f0ca7
...
...
@@ -24,7 +24,7 @@
#include "util/WritableBuffer.hxx"
#include "util/RuntimeError.hxx"
#include "
Pcm
Dither.cxx" // including the .cxx file to get inlined templates
#include "Dither.cxx" // including the .cxx file to get inlined templates
#include <assert.h>
#include <stdint.h>
...
...
src/pcm/Volume.hxx
View file @
e87f0ca7
...
...
@@ -21,8 +21,8 @@
#define MPD_PCM_VOLUME_HXX
#include "SampleFormat.hxx"
#include "
Pcm
Buffer.hxx"
#include "
Pcm
Dither.hxx"
#include "Buffer.hxx"
#include "Dither.hxx"
#ifndef NDEBUG
#include <assert.h>
...
...
src/pcm/meson.build
View file @
e87f0ca7
...
...
@@ -4,15 +4,15 @@ pcm_sources = [
'../AudioParser.cxx',
'SampleFormat.cxx',
'Interleave.cxx',
'
Pcm
Buffer.cxx',
'Buffer.cxx',
'Export.cxx',
'
Pcm
Convert.cxx',
'Convert.cxx',
'Dop.cxx',
'Volume.cxx',
'Silence.cxx',
'
Pcm
Mix.cxx',
'Mix.cxx',
'PcmChannels.cxx',
'P
cmP
ack.cxx',
'Pack.cxx',
'PcmFormat.cxx',
'FormatConverter.cxx',
'ChannelsConverter.cxx',
...
...
@@ -20,7 +20,7 @@ pcm_sources = [
'GlueResampler.cxx',
'FallbackResampler.cxx',
'ConfiguredResampler.cxx',
'
Pcm
Dither.cxx',
'Dither.cxx',
]
if get_option('dsd')
...
...
test/RunChromaprint.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "ConfigGlue.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "lib/chromaprint/DecoderClient.hxx"
#include "event/Thread.hxx"
#include "decoder/DecoderList.hxx"
...
...
test/run_convert.cxx
View file @
e87f0ca7
...
...
@@ -25,7 +25,7 @@
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "util/ConstBuffer.hxx"
#include "util/StaticFifoBuffer.hxx"
#include "util/PrintException.hxx"
...
...
test/run_output.cxx
View file @
e87f0ca7
...
...
@@ -24,7 +24,7 @@
#include "event/Thread.hxx"
#include "fs/Path.hxx"
#include "AudioParser.hxx"
#include "pcm/
Pcm
Convert.hxx"
#include "pcm/Convert.hxx"
#include "util/StringBuffer.hxx"
#include "util/RuntimeError.hxx"
#include "util/ScopeExit.hxx"
...
...
test/test_pcm_channels.cxx
View file @
e87f0ca7
...
...
@@ -19,7 +19,7 @@
#include "test_pcm_util.hxx"
#include "pcm/PcmChannels.hxx"
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/Buffer.hxx"
#include "util/ConstBuffer.hxx"
#include <gtest/gtest.h>
...
...
test/test_pcm_dither.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "test_pcm_util.hxx"
#include "pcm/
Pcm
Dither.cxx"
#include "pcm/Dither.cxx"
#include <gtest/gtest.h>
...
...
test/test_pcm_format.cxx
View file @
e87f0ca7
...
...
@@ -19,8 +19,8 @@
#include "test_pcm_util.hxx"
#include "pcm/PcmFormat.hxx"
#include "pcm/
Pcm
Dither.hxx"
#include "pcm/
Pcm
Buffer.hxx"
#include "pcm/Dither.hxx"
#include "pcm/Buffer.hxx"
#include "pcm/SampleFormat.hxx"
#include <gtest/gtest.h>
...
...
test/test_pcm_mix.cxx
View file @
e87f0ca7
...
...
@@ -18,8 +18,8 @@
*/
#include "test_pcm_util.hxx"
#include "pcm/
Pcm
Mix.hxx"
#include "pcm/
Pcm
Dither.hxx"
#include "pcm/Mix.hxx"
#include "pcm/Dither.hxx"
#include <gtest/gtest.h>
...
...
test/test_pcm_pack.cxx
View file @
e87f0ca7
...
...
@@ -18,7 +18,7 @@
*/
#include "test_pcm_util.hxx"
#include "pcm/P
cmP
ack.hxx"
#include "pcm/Pack.hxx"
#include "util/ByteOrder.hxx"
#include <gtest/gtest.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment