1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Convert default resampler from libresample to libsoxr.

This commit is contained in:
v.audacity
2012-10-09 02:57:19 +00:00
parent de3bf9610a
commit 79faef4192
104 changed files with 13914 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
*******************************************************************//*!
\class Resample
\brief Combined interface to libresample and libsamplerate.
\brief Combined interface to libresample and libsamplerate (which libsoxr emulates).
This class abstracts the interface to two different resampling
libraries:
@@ -129,7 +129,7 @@ Resample::~Resample()
resample_close(mHandle);
}
#elif USE_LIBSAMPLERATE
#elif USE_LIBSAMPLERATE || USE_LIBSOXR
#include <samplerate.h>
@@ -140,7 +140,13 @@ bool Resample::ResamplingEnabled()
wxString Resample::GetResamplingLibraryName()
{
#ifdef USE_LIBSAMPLERATE
return _("Libsamplerate by Erik de Castro Lopo");
#elif USE_LIBSOXR
return _("Libsoxr by Rob Sykes");
#else
return _("Unknown");
#endif
}
int Resample::GetNumMethods()