mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-11 07:05:47 +01:00
Go back to simpler architecture for Resample class, now that libsoxr is proven for variable rate resampling.
This commit is contained in:
@@ -22,16 +22,13 @@
|
||||
// #define USE_LIBLRDF 1
|
||||
#define USE_LIBMAD 1
|
||||
|
||||
// Resamplers.
|
||||
// Only one of each type of resampler (constant or variable rate) should be defined.
|
||||
// libsoxr is used for constant-rate and var-rate resampling.
|
||||
// libsoxr currently our only const-rate resampler, so should always be #defined.
|
||||
#define USE_LIBSOXR 1
|
||||
|
||||
// Should build only one of libsoxr, libresample, or libsamplerate for variable-rate resampling,
|
||||
// Resamplers:
|
||||
// Exactly one resampler should be defined.
|
||||
// Should build only one of libsoxr, libresample, or libsamplerate for resampling,
|
||||
// but if more than one are defined, priority is libresample over libsamplerate over libsoxr.
|
||||
// We cannot release builds with libsamplerate, due to licensing.
|
||||
// Standard configuration is to have only USE_LIBSOXR #defined.
|
||||
#define USE_LIBSOXR 1
|
||||
#undef USE_LIBRESAMPLE
|
||||
#undef USE_LIBSAMPLERATE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user