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

Side by Side Diff: test/mock_voe_channel_proxy.h

Issue 3015553002: Remove voe::OutputMixer and AudioConferenceMixer. (Closed)
Patch Set: remove conference mixer from presubmit.py Created 3 years, 2 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 unified diff | Download patch
« no previous file with comments | « modules/audio_mixer/DEPS ('k') | voice_engine/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived& packet)); 70 MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived& packet));
71 MOCK_METHOD2(ReceivedRTCPPacket, bool(const uint8_t* packet, size_t length)); 71 MOCK_METHOD2(ReceivedRTCPPacket, bool(const uint8_t* packet, size_t length));
72 MOCK_CONST_METHOD0(GetAudioDecoderFactory, 72 MOCK_CONST_METHOD0(GetAudioDecoderFactory,
73 const rtc::scoped_refptr<AudioDecoderFactory>&()); 73 const rtc::scoped_refptr<AudioDecoderFactory>&());
74 MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling)); 74 MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling));
75 MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log)); 75 MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log));
76 MOCK_METHOD1(SetRtcpRttStats, void(RtcpRttStats* rtcp_rtt_stats)); 76 MOCK_METHOD1(SetRtcpRttStats, void(RtcpRttStats* rtcp_rtt_stats));
77 MOCK_METHOD2(GetAudioFrameWithInfo, 77 MOCK_METHOD2(GetAudioFrameWithInfo,
78 AudioMixer::Source::AudioFrameInfo(int sample_rate_hz, 78 AudioMixer::Source::AudioFrameInfo(int sample_rate_hz,
79 AudioFrame* audio_frame)); 79 AudioFrame* audio_frame));
80 MOCK_CONST_METHOD0(NeededFrequency, int()); 80 MOCK_CONST_METHOD0(PreferredSampleRate, int());
81 MOCK_METHOD1(SetTransportOverhead, void(int transport_overhead_per_packet)); 81 MOCK_METHOD1(SetTransportOverhead, void(int transport_overhead_per_packet));
82 MOCK_METHOD1(AssociateSendChannel, 82 MOCK_METHOD1(AssociateSendChannel,
83 void(const ChannelProxy& send_channel_proxy)); 83 void(const ChannelProxy& send_channel_proxy));
84 MOCK_METHOD0(DisassociateSendChannel, void()); 84 MOCK_METHOD0(DisassociateSendChannel, void());
85 MOCK_CONST_METHOD2(GetRtpRtcp, void(RtpRtcp** rtp_rtcp, 85 MOCK_CONST_METHOD2(GetRtpRtcp, void(RtpRtcp** rtp_rtcp,
86 RtpReceiver** rtp_receiver)); 86 RtpReceiver** rtp_receiver));
87 MOCK_CONST_METHOD0(GetPlayoutTimestamp, uint32_t()); 87 MOCK_CONST_METHOD0(GetPlayoutTimestamp, uint32_t());
88 MOCK_METHOD1(SetMinimumPlayoutDelay, void(int delay_ms)); 88 MOCK_METHOD1(SetMinimumPlayoutDelay, void(int delay_ms));
89 MOCK_CONST_METHOD1(GetRecCodec, bool(CodecInst* codec_inst)); 89 MOCK_CONST_METHOD1(GetRecCodec, bool(CodecInst* codec_inst));
90 MOCK_METHOD1(SetReceiveCodecs, 90 MOCK_METHOD1(SetReceiveCodecs,
91 void(const std::map<int, SdpAudioFormat>& codecs)); 91 void(const std::map<int, SdpAudioFormat>& codecs));
92 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate)); 92 MOCK_METHOD1(OnTwccBasedUplinkPacketLossRate, void(float packet_loss_rate));
93 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate, 93 MOCK_METHOD1(OnRecoverableUplinkPacketLossRate,
94 void(float recoverable_packet_loss_rate)); 94 void(float recoverable_packet_loss_rate));
95 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>()); 95 MOCK_CONST_METHOD0(GetSources, std::vector<RtpSource>());
96 }; 96 };
97 } // namespace test 97 } // namespace test
98 } // namespace webrtc 98 } // namespace webrtc
99 99
100 #endif // TEST_MOCK_VOE_CHANNEL_PROXY_H_ 100 #endif // TEST_MOCK_VOE_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « modules/audio_mixer/DEPS ('k') | voice_engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698