Index: webrtc/modules/audio_device/android/audio_device_unittest.cc |
diff --git a/webrtc/modules/audio_device/android/audio_device_unittest.cc b/webrtc/modules/audio_device/android/audio_device_unittest.cc |
index 48944f57726f2ffb8357557e22c9f94a66a7d4f7..78c83e98309d721265a5c0085b99ccc30366bcf3 100644 |
--- a/webrtc/modules/audio_device/android/audio_device_unittest.cc |
+++ b/webrtc/modules/audio_device/android/audio_device_unittest.cc |
@@ -390,6 +390,7 @@ class MockAudioTransport : public AudioTransport { |
const uint32_t currentMicLevel, |
const bool keyPressed, |
uint32_t& newMicLevel)); |
+ |
MOCK_METHOD8(NeedMorePlayData, |
int32_t(const size_t nSamples, |
const size_t nBytesPerSample, |
@@ -400,6 +401,23 @@ class MockAudioTransport : public AudioTransport { |
int64_t* elapsed_time_ms, |
int64_t* ntp_time_ms)); |
+ MOCK_METHOD6(PushCaptureData, |
+ void(int voe_channel, |
+ const void* audio_data, |
+ int bits_per_sample, |
+ int sample_rate, |
+ size_t number_of_channels, |
+ size_t number_of_frames)); |
+ |
+ MOCK_METHOD7(PullRenderData, |
+ void(int bits_per_sample, |
+ int sample_rate, |
+ size_t number_of_channels, |
+ size_t number_of_frames, |
+ void* audio_data, |
+ int64_t* elapsed_time_ms, |
+ int64_t* ntp_time_ms)); |
+ |
// Set default actions of the mock object. We are delegating to fake |
// implementations (of AudioStreamInterface) here. |
void HandleCallbacks(EventWrapper* test_is_done, |