| Index: webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc
|
| diff --git a/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc b/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc
|
| index ec10119a113c29561e4a6ea6b0c7172a8c5d198b..96081d0f3887f7269fea6b2f23e60e92e7982192 100644
|
| --- a/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc
|
| +++ b/webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc
|
| @@ -380,6 +380,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,
|
| @@ -390,6 +391,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,
|
|
|