This allows a client to align output samples consistently for independent
resampling of contiguous input buffers.
--HG--
extra : rebase_source : 58caba11ac7f78418b173a98556276d3b4644603
sample_frac_num is the array most likely to be non-zero after resampling a
previous stream, but the other arrays can also be left at non-zero values
in other situations.
--HG--
extra : rebase_source : dfd3974f051ff0b1794a937d712dda185352f7d5
From 763e746e97f0c234cea9ad1b674d406f55a2fb51 Mon Sep 17 00:00:00 2001
This applies a patch from the opus-tools fork of the speex
resampler, fixing an issue where the resampler could return
less that the requested number of samples.
https://git.xiph.org/?p=opus-tools.git;a=commitdiff;h=5adadc5
---
media/libspeex_resampler/README_MOZILLA | 3 +-
media/libspeex_resampler/src/resample.c | 12 ++++---
media/libspeex_resampler/truncation.patch | 54 +++++++++++++++++++++++++++++++
media/libspeex_resampler/update.sh | 4 +++
4 files changed, 67 insertions(+), 6 deletions(-)
create mode 100644 media/libspeex_resampler/truncation.patch
--HG--
extra : rebase_source : db081699c3f914824abeb3bbf6563d459a690eff
Turns out that the compiler believes you when you say unsigned once.
No need to repeat yourself.
--HG--
extra : rebase_source : 979560fd47f7591d9cec0533a29462d3a25e3528