Ensures that we always run the low-latency audio capture at natively 128 audio frames. A FIFO is used to adapt to the buffer size requested by the client. 

Tested with WebRTC clients in Chrome as well.

Added media_unittests as well for different sample rates.

BUG=154352
TEST=content_unittests --v=1 --gtest_filter=WebRTC*


Review URL: https://chromiumcodereview.appspot.com/11099013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161328 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed