mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-11 09:03:36 +02:00
upgrade to var-rate resampling for libsoxr
This commit is contained in:
@@ -24,13 +24,14 @@
|
||||
|
||||
// Resamplers.
|
||||
// Only one of each type of resampler (constant or variable rate) should be defined.
|
||||
// libsoxr is used for constant-rate resampling.
|
||||
// It's currently our only const-rate resampler, so should always be #defined.
|
||||
// libsoxr is used for constant-rate and var-rat resampling.
|
||||
// libsoxr currently our only const-rate resampler, so should always be #defined.
|
||||
#define USE_LIBSOXR 1
|
||||
// Should build only one of libresample or libsamplerate for variable-rate resampling,
|
||||
// but if both are defined, USE_LIBRESAMPLE is used and USE_LIBSAMPLERATE is not.
|
||||
// Should always have one or the other #defined.
|
||||
#define USE_LIBRESAMPLE 1
|
||||
// Should build only one of libsoxr, libresample, or libsamplerate for variable-rate resampling,
|
||||
// but if more than one are defined, priority is libsoxr over libresample over libsamplerate.
|
||||
// We cannot release builds with libsamplerate, due to licensing.
|
||||
// Standard configuration is to have only USE_LIBSOXR #defined.
|
||||
#undef USE_LIBRESAMPLE
|
||||
#undef USE_LIBSAMPLERATE
|
||||
|
||||
#define USE_LIBTWOLAME 1
|
||||
|
Reference in New Issue
Block a user