resamplers: no need to check that rates are different
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Nov 2012 20:23:26 +0000 (22:23 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Nov 2012 20:24:33 +0000 (22:24 +0200)
commit140ca2a521a8c14e1a62fe7de9a33cff830a5725
treefcfe283222ce65ec179711661ce5a92e8dc11451
parentee86514d1cb1fe5ec25c8bdfb2a4b6a8d98591e7
resamplers: no need to check that rates are different

In fact, the rates may be identical. Resampling might be used only to
compensate accidental drift. (We could also remove channel and format
checks.)
modules/audio_filter/resampler/speex.c
modules/audio_filter/resampler/src.c
modules/audio_filter/resampler/ugly.c