Merge pull request #32 from padenot/master

Mozilla bugs 893307 & 900380
Move 'delay' function and M_PI definition to a shared file
Add audio format test program
Add JACK audio output support
Workaround link issue when integrated in Firefox
Merge pull request #33 from Ace17/master

A better audio test program
Remove duplicated version of 'delay'
Re-enable drain test
Merge branch 'coverage' into jack_support
Jack output: add support for stream draining
Small Makefile.am factorization: use a define to decide wether to include libspeex resampler or not
Factor libspeex configuration in configure script
Mark function as static
Remove dead variable
Merge pull request #34 from Ace17/jack_support

JACK output support
post-merge build fixes.
remove pragmas around jack includes.
annotate disabled assert in test_sanity.
update gitignore with new test.
add support for querying the actual stream latency.
(this imports changes from BMO 904617.)