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

Unified Diff: webrtc/test/mock_voe_channel_proxy.h

Issue 2669153004: Remove remaining calls to VoE APIs from Audio[Send|Receive]Stream. (Closed)
Patch Set: fix Created 3 years, 10 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/test/mock_voe_channel_proxy.h
diff --git a/webrtc/test/mock_voe_channel_proxy.h b/webrtc/test/mock_voe_channel_proxy.h
index dc2c532b1aa8fc7a34175f94cdb7a33ffde52e9b..39b2e9fd585cf3e822640c1a67c43f04a88c0316 100644
--- a/webrtc/test/mock_voe_channel_proxy.h
+++ b/webrtc/test/mock_voe_channel_proxy.h
@@ -79,6 +79,15 @@ class MockVoEChannelProxy : public voe::ChannelProxy {
int* playout_buffer_delay_ms));
MOCK_CONST_METHOD0(GetPlayoutTimestamp, uint32_t());
MOCK_METHOD1(SetMinimumPlayoutDelay, void(int delay_ms));
+ MOCK_CONST_METHOD1(GetRecCodec, bool(CodecInst* codec_inst));
+ MOCK_CONST_METHOD1(GetSendCodec, bool(CodecInst* codec_inst));
+ MOCK_METHOD1(SetVADStatus, bool(bool enable));
+ MOCK_METHOD1(SetCodecFECStatus, bool(bool enable));
+ MOCK_METHOD1(SetOpusDtx, bool(bool enable));
+ MOCK_METHOD1(SetOpusMaxPlaybackRate, bool(int frequency_hz));
+ MOCK_METHOD1(SetSendCodec, bool(const CodecInst& codec_inst));
+ MOCK_METHOD2(SetSendCNPayloadType,
+ bool(int type, PayloadFrequencies frequency));
};
} // namespace test
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698