| Index: webrtc/media/engine/fakewebrtcvoiceengine.h
|
| diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h
|
| index 26419040f16f1deda0a3bd3f1d05dc3f7a982376..cd6c42064a1bd9a2da8750d0c73b8eb4df4d6029 100644
|
| --- a/webrtc/media/engine/fakewebrtcvoiceengine.h
|
| +++ b/webrtc/media/engine/fakewebrtcvoiceengine.h
|
| @@ -57,7 +57,6 @@ class FakeWebRtcVoiceEngine
|
| public webrtc::VoEVolumeControl {
|
| public:
|
| struct Channel {
|
| - int associate_send_channel = -1;
|
| std::vector<webrtc::CodecInst> recv_codecs;
|
| size_t neteq_capacity = 0;
|
| bool neteq_fast_accelerate = false;
|
| @@ -79,10 +78,6 @@ class FakeWebRtcVoiceEngine
|
| fail_create_channel_ = fail_create_channel;
|
| }
|
|
|
| - int GetAssociateSendChannel(int channel) {
|
| - return channels_[channel]->associate_send_channel;
|
| - }
|
| -
|
| WEBRTC_STUB(Release, ());
|
|
|
| // webrtc::VoEBase
|
| @@ -125,11 +120,6 @@ class FakeWebRtcVoiceEngine
|
| }
|
| WEBRTC_FUNC(DeleteChannel, (int channel)) {
|
| WEBRTC_CHECK_CHANNEL(channel);
|
| - for (const auto& ch : channels_) {
|
| - if (ch.second->associate_send_channel == channel) {
|
| - ch.second->associate_send_channel = -1;
|
| - }
|
| - }
|
| delete channels_[channel];
|
| channels_.erase(channel);
|
| return 0;
|
| @@ -142,12 +132,8 @@ class FakeWebRtcVoiceEngine
|
| WEBRTC_STUB(StopSend, (int channel));
|
| WEBRTC_STUB(GetVersion, (char version[1024]));
|
| WEBRTC_STUB(LastError, ());
|
| - WEBRTC_FUNC(AssociateSendChannel, (int channel,
|
| - int accociate_send_channel)) {
|
| - WEBRTC_CHECK_CHANNEL(channel);
|
| - channels_[channel]->associate_send_channel = accociate_send_channel;
|
| - return 0;
|
| - }
|
| + WEBRTC_STUB(AssociateSendChannel, (int channel,
|
| + int accociate_send_channel));
|
|
|
| // webrtc::VoECodec
|
| WEBRTC_STUB(NumOfCodecs, ());
|
|
|