Index: talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
diff --git a/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc b/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
index 821b44caa4f42b4367ff4d95e1473d19a74f8238..56f1d070eddfdebc1b1d29bbfe976c219d45f402 100644 |
--- a/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
+++ b/talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc |
@@ -55,16 +55,16 @@ class FakeAdmTest : public testing::Test, |
// Callbacks inherited from webrtc::AudioTransport. |
// ADM is pushing data. |
- virtual int32_t RecordedDataIsAvailable(const void* audioSamples, |
- const uint32_t nSamples, |
- const uint8_t nBytesPerSample, |
- const uint8_t nChannels, |
- const uint32_t samplesPerSec, |
- const uint32_t totalDelayMS, |
- const int32_t clockDrift, |
- const uint32_t currentMicLevel, |
- const bool keyPressed, |
- uint32_t& newMicLevel) { |
+ int32_t RecordedDataIsAvailable(const void* audioSamples, |
+ const uint32_t nSamples, |
+ const uint8_t nBytesPerSample, |
+ const uint8_t nChannels, |
+ const uint32_t samplesPerSec, |
+ const uint32_t totalDelayMS, |
+ const int32_t clockDrift, |
+ const uint32_t currentMicLevel, |
+ const bool keyPressed, |
+ uint32_t& newMicLevel) override { |
rec_buffer_bytes_ = nSamples * nBytesPerSample; |
if ((rec_buffer_bytes_ == 0) || |
(rec_buffer_bytes_ > FakeAudioCaptureModule::kNumberSamples * |
@@ -79,14 +79,14 @@ class FakeAdmTest : public testing::Test, |
} |
// ADM is pulling data. |
- virtual int32_t NeedMorePlayData(const uint32_t nSamples, |
- const uint8_t nBytesPerSample, |
- const uint8_t nChannels, |
- const uint32_t samplesPerSec, |
- void* audioSamples, |
- uint32_t& nSamplesOut, |
- int64_t* elapsed_time_ms, |
- int64_t* ntp_time_ms) { |
+ int32_t NeedMorePlayData(const uint32_t nSamples, |
+ const uint8_t nBytesPerSample, |
+ const uint8_t nChannels, |
+ const uint32_t samplesPerSec, |
+ void* audioSamples, |
+ uint32_t& nSamplesOut, |
+ int64_t* elapsed_time_ms, |
+ int64_t* ntp_time_ms) override { |
++pull_iterations_; |
const uint32_t audio_buffer_size = nSamples * nBytesPerSample; |
const uint32_t bytes_out = RecordedDataReceived() ? |