MediaRecorder: support sampling rate adaption in AudioTrackRecorder

This CL adds support for audio coming from the MediaStream
Tracks with a sampling rate not directly supported by Opus
({48k, 24k, 16k, 12k, 8k}samples/s) by adding a AudioConverter
in AudioTrackRecorder::AudioEncoder.

BUG=569089
TEST =
- unit tests, which are beefed up
- content_browsertests
- demo [1]
- corrected bug's file [2]
(correction being: s/opus/webm/ for the mimeType to
use for capture.)
  I used a variety of input wav's, mostly the original
 sfx5.wav in the bug and the "miscellaneous" entries in [3]

[1] https://webrtc.github.io/samples/src/content/getusermedia/record/
[2] https://rawgit.com/Miguelao/demos/master/audiotranscode.html
[3] http://download.wavetlan.com/SVV/Media/HTTP/http-wav.htm

Review URL: https://codereview.chromium.org/1579693006

Cr-Commit-Position: refs/heads/master@{#372491}
4 files changed