diff --git a/VBA.vcproj b/VBA.vcproj index 63b67a77..88c3a3c9 100644 --- a/VBA.vcproj +++ b/VBA.vcproj @@ -158,12 +158,13 @@ /> + + + filled) filled = 0; else filled -= count; } - T operator[] (int index) const + inline T operator[] (int index) const { index += ptr - filled; if (index < 0) index += buffer_size; @@ -459,7 +459,7 @@ public: in[used] = samples[used]; } - returned = resample_process(resampler, 32767 / lrate, in, count, 0, &used, &out, 1); + returned = resample_process(resampler, 32767. / lrate, in, count, 0, &used, &out, 1); if (used) { samples.erase(used);