1
0
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:
v.audacity
2013-08-04 01:58:54 +00:00
parent 51e0391b7d
commit 030d2450a8
10 changed files with 111 additions and 498 deletions

View File

@@ -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];