Skip to content

Commit 96dbae2

Browse files
committed
Filter correction
1 parent 55de438 commit 96dbae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/Filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ class ConverterNChannels : public BaseConverter<T> {
404404
int count = size / channels;
405405
T *sample = (T *)src;
406406
for (size_t j = 0; j < count; j++) {
407-
for (int channel = 0; j < channels; j++) {
407+
for (int channel = 0; channel < channels; channel++) {
408408
if (filters[channel]!=nullptr){
409409
*sample = filters[channel]->process(*sample);
410410
}

0 commit comments

Comments
 (0)