diff options
author | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-22 20:44:08 +0000 |
---|---|---|
committer | dalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-22 20:44:08 +0000 |
commit | b0a49781439fe05539ba9b5af9d1702b33998569 (patch) | |
tree | fbefa9914e927ee7b04980288635e617066ce7f3 /build/android/pylib | |
parent | 3a0a5f742211ecd24a5cc00ab5a2b27a662fd58d (diff) | |
download | chromium_src-b0a49781439fe05539ba9b5af9d1702b33998569.zip chromium_src-b0a49781439fe05539ba9b5af9d1702b33998569.tar.gz chromium_src-b0a49781439fe05539ba9b5af9d1702b33998569.tar.bz2 |
Unify AudioParameter validiation checks in AudioRendererAlgorithm.
The validation done in AudioRendererAlgorithm::ValidateConfig() did
not match what was done by AudioParameters::IsValid(). As such we
could run into situations where one passed while the other failed.
This change removes AudioRendererAlgorithm::ValidateConfig() in
favor of just using AudioParameters::IsValid().
The crash was due to sample rates of 3000 and 6000 coming through,
I've adjusted the lower limit accordingly.
Also fixes issues with 192kHz playback for supported systems.
BUG=133987, 162281
TEST=unittests still pass.
Review URL: https://chromiumcodereview.appspot.com/11413126
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/pylib')
0 files changed, 0 insertions, 0 deletions