Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Add cases for SincSampleQuad2N
Browse files Browse the repository at this point in the history
  • Loading branch information
ess7 committed Oct 20, 2018
1 parent 218117f commit fbf6412
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion resample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,20 @@ int WDL_Resampler::ResampleOut(WDL_ResampleSample *out, int nsamples_in, int nsa
// not yet implemented
}
} else {
SINCSAMPLEN_LOOP(SincSampleQuad2N, nch)
switch (nch) {
case 2:
SINCSAMPLEN_LOOP(SincSampleQuad2N, 2)
break;
case 6:
SINCSAMPLEN_LOOP(SincSampleQuad2N, 6)
break;
case 8:
SINCSAMPLEN_LOOP(SincSampleQuad2N, 8)
break;
default:
SINCSAMPLEN_LOOP(SincSampleQuad2N, nch)
break;
}
}
}
else if (nch == 1) {
Expand Down

0 comments on commit fbf6412

Please sign in to comment.