Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: webrtc/modules/audio_device/mock_audio_device_buffer.h

Issue 1254883002: Refactor the AudioDevice for iOS and improve the performance and stability (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Extended unit test for FineAudioBuffer with recorded data Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_device/mock_audio_device_buffer.h
diff --git a/webrtc/modules/audio_device/mock_audio_device_buffer.h b/webrtc/modules/audio_device/mock_audio_device_buffer.h
index d18c0ec5b717b2a17b059a220e1980af5fd68a6b..07c9e2912e15e4bbaf4c50b8e45a51d10e48cba3 100644
--- a/webrtc/modules/audio_device/mock_audio_device_buffer.h
+++ b/webrtc/modules/audio_device/mock_audio_device_buffer.h
@@ -20,9 +20,13 @@ class MockAudioDeviceBuffer : public AudioDeviceBuffer {
public:
MockAudioDeviceBuffer() {}
virtual ~MockAudioDeviceBuffer() {}
-
MOCK_METHOD1(RequestPlayoutData, int32_t(size_t nSamples));
MOCK_METHOD1(GetPlayoutData, int32_t(void* audioBuffer));
+ MOCK_METHOD2(SetRecordedBuffer,
+ int32_t(const void* audioBuffer, size_t nSamples));
+ MOCK_METHOD3(SetVQEData,
+ void(int playDelayMS, int recDelayMS, int clockDrift));
+ MOCK_METHOD0(DeliverRecordedData, int32_t());
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698