diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 21:56:19 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 21:56:19 +0000 |
commit | 8c3062b166e54c94c30e752b49bd159b9dce7442 (patch) | |
tree | 4053440034966bf333393562334f0982b9482968 /media/audio | |
parent | 4deb9db944ab33d86ba3a88edf8a8f34afe1fd54 (diff) | |
download | chromium_src-8c3062b166e54c94c30e752b49bd159b9dce7442.zip chromium_src-8c3062b166e54c94c30e752b49bd159b9dce7442.tar.gz chromium_src-8c3062b166e54c94c30e752b49bd159b9dce7442.tar.bz2 |
Fixed a Windows-with-hardware-only unit test that is failing. Revision 59224 increased kWinMaxChannels to 8, so 8 is no longer an invalid value.
Patch by ddorwin@chromium.org:
http://codereview.chromium.org/4011002/show
BUG=none
TEST=Run media_unittests on a real Windows machine.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio')
-rw-r--r-- | media/audio/win/audio_output_win_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/win/audio_output_win_unittest.cc b/media/audio/win/audio_output_win_unittest.cc index b6d3bf3..2e86450 100644 --- a/media/audio/win/audio_output_win_unittest.cc +++ b/media/audio/win/audio_output_win_unittest.cc @@ -255,7 +255,7 @@ TEST(WinAudioTest, SanityOnMakeParams) { return; AudioParameters::Format fmt = AudioParameters::AUDIO_PCM_LINEAR; EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( - AudioParameters(fmt, 8, 8000, 16))); + AudioParameters(fmt, 9, 8000, 16))); EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( AudioParameters(fmt, 1, 1024 * 1024, 16))); EXPECT_TRUE(NULL == audio_man->MakeAudioOutputStream( |