We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18777b commit 67714f3Copy full SHA for 67714f3
src/AudioTools/Resample.h
@@ -598,7 +598,7 @@ class ResampleBuffer {
598
599
/// Writes the data up or downsampled to the final destination
600
size_t write(const uint8_t *src, size_t byte_count) {
601
- resampled_byte_count = byte_count * factor;
+ resampled_byte_count = byte_count * fact;
602
resampled_data.resize(resampled_byte_count);
603
resampled_data.clear();
604
size_t result = resampler.write(src, byte_count);
0 commit comments