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

Unified Diff: webrtc/test/mock_voe_channel_proxy.h

Issue 2705093002: Injectable audio encoders: WebRtcVoiceEngine and company (Closed)
Patch Set: audio_send_spec made optional<>, EnableAudioNetworkAdapter now called directly on encoder, VAD supp… Created 3 years, 9 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 65fa18bfee7d4418433d27ce2f514f3c9ce5c340..480a48e66ae153e5d15795c6ae01552eb4e93533 100644
--- a/webrtc/test/mock_voe_channel_proxy.h
+++ b/webrtc/test/mock_voe_channel_proxy.h
@@ -69,11 +69,6 @@ class MockVoEChannelProxy : public voe::ChannelProxy {
MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling));
MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log));
MOCK_METHOD1(SetRtcpRttStats, void(RtcpRttStats* rtcp_rtt_stats));
- MOCK_METHOD1(EnableAudioNetworkAdaptor,
- void(const std::string& config_string));
- MOCK_METHOD0(DisableAudioNetworkAdaptor, void());
- MOCK_METHOD2(SetReceiverFrameLengthRange,
- void(int min_frame_length_ms, int max_frame_length_ms));
MOCK_METHOD2(GetAudioFrameWithInfo,
AudioMixer::Source::AudioFrameInfo(int sample_rate_hz,
AudioFrame* audio_frame));
@@ -87,14 +82,6 @@ class MockVoEChannelProxy : public voe::ChannelProxy {
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