AudioCompress: move to pcm/

This commit is contained in:
Max Kellermann 2021-12-03 16:04:07 +01:00
parent a5fa43b526
commit 9262b24504
8 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,7 @@
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "pcm/AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "AudioCompress/compress.h" #include "pcm/AudioCompress/compress.h"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include <string.h> #include <string.h>

View File

@ -12,7 +12,6 @@ endif
filter_plugins = static_library( filter_plugins = static_library(
'filter_plugins', 'filter_plugins',
'../../AudioCompress/compress.c',
'NullFilterPlugin.cxx', 'NullFilterPlugin.cxx',
'TwoFilters.cxx', 'TwoFilters.cxx',
'AutoConvertFilterPlugin.cxx', 'AutoConvertFilterPlugin.cxx',

View File

@ -46,6 +46,7 @@ pcm_sources = [
'GlueResampler.cxx', 'GlueResampler.cxx',
'FallbackResampler.cxx', 'FallbackResampler.cxx',
'ConfiguredResampler.cxx', 'ConfiguredResampler.cxx',
'AudioCompress/compress.c',
] ]
libsamplerate_dep = dependency('samplerate', version: '>= 0.1.3', required: get_option('libsamplerate')) libsamplerate_dep = dependency('samplerate', version: '>= 0.1.3', required: get_option('libsamplerate'))

View File

@ -538,7 +538,6 @@ executable(
executable( executable(
'run_normalize', 'run_normalize',
'run_normalize.cxx', 'run_normalize.cxx',
'../src/AudioCompress/compress.c',
include_directories: inc, include_directories: inc,
dependencies: [ dependencies: [
pcm_dep, pcm_dep,

View File

@ -23,7 +23,7 @@
* *
*/ */
#include "AudioCompress/compress.h" #include "pcm/AudioCompress/compress.h"
#include "pcm/AudioParser.hxx" #include "pcm/AudioParser.hxx"
#include "pcm/AudioFormat.hxx" #include "pcm/AudioFormat.hxx"
#include "util/PrintException.hxx" #include "util/PrintException.hxx"