summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorenal@chromium.org <enal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 22:50:16 +0000
committerenal@chromium.org <enal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 22:50:16 +0000
commit2dba717e66fbaadb77cf768c0855c683f5bc4a9a (patch)
tree0a8878df7efddd8396a5c8903fe41cdafa64f870 /media
parenteeb639f987c76287eeb6021e934dcc77e7052290 (diff)
downloadchromium_src-2dba717e66fbaadb77cf768c0855c683f5bc4a9a.zip
chromium_src-2dba717e66fbaadb77cf768c0855c683f5bc4a9a.tar.gz
chromium_src-2dba717e66fbaadb77cf768c0855c683f5bc4a9a.tar.bz2
Fix DCHECK() when running test on Linux.
When asking for data should return reasonable packet size. Review URL: http://codereview.chromium.org/8305017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/audio/audio_output_controller_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_output_controller_unittest.cc b/media/audio/audio_output_controller_unittest.cc
index f6917a7..6a58bb5 100644
--- a/media/audio/audio_output_controller_unittest.cc
+++ b/media/audio/audio_output_controller_unittest.cc
@@ -177,7 +177,7 @@ TEST(AudioOutputControllerTest, PlayAndCloseLowLatency) {
EXPECT_CALL(sync_reader, Read(_, kHardwareBufferSize))
.Times(AtLeast(10))
.WillRepeatedly(DoAll(SignalEvent(&event),
- Return(1)));
+ Return(4)));
EXPECT_CALL(sync_reader, Close());
AudioParameters params(AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout,