| Index: media/audio/win/audio_low_latency_output_win_unittest.cc
|
| diff --git a/media/audio/win/audio_low_latency_output_win_unittest.cc b/media/audio/win/audio_low_latency_output_win_unittest.cc
|
| index 5c2d4572fab14c302ba6aac0389a87f23aeed08f..8f3041146e01071a46647e8177ea91ad41689fcb 100644
|
| --- a/media/audio/win/audio_low_latency_output_win_unittest.cc
|
| +++ b/media/audio/win/audio_low_latency_output_win_unittest.cc
|
| @@ -103,7 +103,9 @@ class ReadFromFileAudioSource : public AudioOutputStream::AudioSourceCallback {
|
| }
|
|
|
| // AudioOutputStream::AudioSourceCallback implementation.
|
| - int OnMoreData(AudioBus* audio_bus, uint32 total_bytes_delay) override {
|
| + int OnMoreData(AudioBus* audio_bus,
|
| + uint32_t total_bytes_delay,
|
| + uint32_t frames_skipped) override {
|
| // Store time difference between two successive callbacks in an array.
|
| // These values will be written to a file in the destructor.
|
| const base::TimeTicks now_time = base::TimeTicks::Now();
|
| @@ -382,7 +384,7 @@ TEST(WASAPIAudioOutputStreamTest, ValidPacketSize) {
|
|
|
| // Wait for the first callback and verify its parameters. Ignore any
|
| // subsequent callbacks that might arrive.
|
| - EXPECT_CALL(source, OnMoreData(NotNull(), HasValidDelay(bytes_per_packet)))
|
| + EXPECT_CALL(source, OnMoreData(NotNull(), HasValidDelay(bytes_per_packet), 0))
|
| .WillOnce(DoAll(QuitLoop(loop.task_runner()),
|
| Return(aosw.samples_per_packet())))
|
| .WillRepeatedly(Return(0));
|
| @@ -576,7 +578,7 @@ TEST(WASAPIAudioOutputStreamTest, DISABLED_ExclusiveModeMinBufferSizeAt48kHz) {
|
| (aosw.bits_per_sample() / 8);
|
|
|
| // Wait for the first callback and verify its parameters.
|
| - EXPECT_CALL(source, OnMoreData(NotNull(), HasValidDelay(bytes_per_packet)))
|
| + EXPECT_CALL(source, OnMoreData(NotNull(), HasValidDelay(bytes_per_packet), 0))
|
| .WillOnce(DoAll(QuitLoop(loop.task_runner()),
|
| Return(aosw.samples_per_packet())))
|
| .WillRepeatedly(Return(aosw.samples_per_packet()));
|
| @@ -610,7 +612,7 @@ TEST(WASAPIAudioOutputStreamTest, DISABLED_ExclusiveModeMinBufferSizeAt44kHz) {
|
| (aosw.bits_per_sample() / 8);
|
|
|
| // Wait for the first callback and verify its parameters.
|
| - EXPECT_CALL(source, OnMoreData(NotNull(), HasValidDelay(bytes_per_packet)))
|
| + EXPECT_CALL(source, OnMoreData(NotNull(), HasValidDelay(bytes_per_packet), 0))
|
| .WillOnce(DoAll(QuitLoop(loop.task_runner()),
|
| Return(aosw.samples_per_packet())))
|
| .WillRepeatedly(Return(aosw.samples_per_packet()));
|
|
|