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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user