b=912474 use speex_resampler_process_int on platforms where speex_resampler_process_float expects samples in the range +/-32767 r=ehsan a=akeybl

(transplanted from 840d3d8c39a0a8d4184c2e2cbb7fcfcc7c352f73)

--HG--
extra : transplant_source : %84%0D%3D%8C9%A0%A8%D4%18L.%2C%BB%7F%CF%CC%7C5/s
b=921675 use maximum instead of current delay for tail time because delay can increase faster than time passes r=ehsan a=akeybl

(transplanted from 3a8400387d03af8d227a6d83325a3688fba7daab)

--HG--
extra : transplant_source : %3A%84%008%7D%03%AF%8D%22zm%832Z6%88%FB%A7%DA%AB
b=910174 add DelayNode's tail-time reference as soon as the engine receives sound r=ehsan a=akeybl

This removes the dependence on AllInputsFinished() which didn't return true
for many input types.

The DelayProcessor is no longer continuously reset (bug 921457) and the
reference is now correctly added again when all inputs are finished and then
new inputs are connected.

(transplanted from cb856e6d57c1eeb387e3b57a5e4f95afc16f80cb)

--HG--
extra : transplant_source : %CB%85nmW%C1%EE%B3%87%E3%B5z%5EO%95%AF%C1o%80%CB