Bug 907817 - Actually set the latency when using the audiounit cubeb backend.  r=kinetik

--HG--
extra : rebase_source : a24f4511e22465d736423c5af275021101c2898b
Bug 907817 - Add a cubeb API to get a valid audio latency range per platform.  r=kinetik

--HG--
extra : rebase_source : 06999c8009f2828ee0f6f49e0cdb5cbc86d785cc
Bug 907817 - Allow AudioStream users to pass-in latency requirements. r=kinetik

--HG--
extra : rebase_source : 3cf1971913b3cfd8000c58614b0d0be8b7805af0
Bug 918861 - Add an API to get the native samplerate for a given audio backend.  r=kinetik

--HG--
extra : rebase_source : 592445a01f00a89289d52c52d9c758e10b9d9a00
Bug 918861 - Expose a better samplerate though the AudioStream interface.  r=kinetik

--HG--
extra : rebase_source : d085d173aeb00f47f56016c0a1d1bf7fe11fb6f3
Bug 918861 - Allow the MSG to choose a better samplerate than 48000Hz. r=roc

--HG--
extra : rebase_source : 2181ccbbdca370031d1d3ae5b44ef4e37a3e948c
Bug 918861 - Update tests that were relying on a 48000Hz samplerate. r=ehsan

--HG--
extra : rebase_source : 84ba0d07e2c1905bc9b7d6e37121c6e0d3d53b33
Bug 922247 - When an AudioContext is not running at 48kHz, resample the input of the MediaRecorder when encoding in Opus. r=roc

--HG--
extra : rebase_source : 8dd9202ed1a3e6b2b38fed78050223d1fccb74e5
Automatic merge