Speex: Add a patch to improve resampler performance.

Add neon optimization and use the full sinc table.  This improves
performance by a factor of five on daisy, so we can afford to increase
the quality factor used in cras.

BUG=chrome-os-partner:23275
TEST=(1) build for daisy and parrot (2) run aplay -f dat /dev/zero in one
terminal (3) play 44.1k wav file in another terminal (4) use "perf" to check
cpu used for libspeexdsp.

Change-Id: I18a8d82e0a82673c82846f15dfb6f0eb2dec237f
Reviewed-on: https://chromium-review.googlesource.com/173662
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
(cherry picked from commit 49ecd385c0f056f3cbf6fc5de07ae53e1b447adb)
Reviewed-on: https://chromium-review.googlesource.com/174831
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Commit-Queue: Andrew Bresticker <abrestic@chromium.org>
Tested-by: Andrew Bresticker <abrestic@chromium.org>
3 files changed