Allow sample rate pass through on Linux.

Requiring the native output sample rate to avoid glitching appears
to have just been an issue with a poor tlength choice.  xians and
I resolved this prior to turning PulseAudio on by default, but left
the native sample rate requirement in at the time.

Since "native sample rate" can change on the fly with PulseAudio
our approach of specifying FIX_RATE was incorrect.  Allowing Pulse
to handle resampling lets us remove the FIX_RATE flag.  It also
improves CPU usage in cases where Pulse can configure the output
device to match the requested sample rate.

BUG=229918
TEST=extensive manual checks for glitching.
R=xians@chromium.org

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

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