Skip to content

Commit 67714f3

Browse files
committed
Resample Compile Error
1 parent c18777b commit 67714f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/Resample.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ class ResampleBuffer {
598598

599599
/// Writes the data up or downsampled to the final destination
600600
size_t write(const uint8_t *src, size_t byte_count) {
601-
resampled_byte_count = byte_count * factor;
601+
resampled_byte_count = byte_count * fact;
602602
resampled_data.resize(resampled_byte_count);
603603
resampled_data.clear();
604604
size_t result = resampler.write(src, byte_count);

0 commit comments

Comments
 (0)