Skip to content

Commit

Permalink
Use speex_resampler_process_interleaved_float in the testresample2
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed May 5, 2022
1 parent 7a7246e commit d5338f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libspeexdsp/testresample2.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int main()

fprintf (stderr, "%d %d %d %d -> ", rate, off, in_len, out_len);

speex_resampler_process_float(st, 0, fin + off, &in_len, fout, &out_len);
speex_resampler_process_interleaved_float(st, fin + off, &in_len, fout, &out_len);

fprintf (stderr, "%d %d\n", in_len, out_len);
off += in_len;
Expand Down

0 comments on commit d5338f6

Please sign in to comment.