mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-18 08:48:17 +01:00
Go back to simpler architecture for Resample class, now that libsoxr is proven for variable rate resampling.
This commit is contained in:
@@ -1526,7 +1526,7 @@ bool WaveClip::Resample(int rate, ProgressDialog *progress)
|
||||
return true; // Nothing to do
|
||||
|
||||
double factor = (double)rate / (double)mRate;
|
||||
ConstRateResample* resample = new ConstRateResample(true, factor);
|
||||
::Resample* resample = new ::Resample(true, factor, factor); // constant rate resampling
|
||||
|
||||
int bufsize = 65536;
|
||||
float* inBuffer = new float[bufsize];
|
||||
|
||||
Reference in New Issue
Block a user