| Index: webrtc/voice_engine/voe_base_impl.cc
|
| diff --git a/webrtc/voice_engine/voe_base_impl.cc b/webrtc/voice_engine/voe_base_impl.cc
|
| index f74bdb1dbc106ad8c1e0a2f62523a51df51deab1..dff31dd8f4a15b72dc7cacc6f3ca04e50ed8c658 100644
|
| --- a/webrtc/voice_engine/voe_base_impl.cc
|
| +++ b/webrtc/voice_engine/voe_base_impl.cc
|
| @@ -439,22 +439,6 @@ int VoEBaseImpl::StartReceive(int channel) {
|
| return channelPtr->StartReceiving();
|
| }
|
|
|
| -int VoEBaseImpl::StopReceive(int channel) {
|
| - rtc::CritScope cs(shared_->crit_sec());
|
| - if (!shared_->statistics().Initialized()) {
|
| - shared_->SetLastError(VE_NOT_INITED, kTraceError);
|
| - return -1;
|
| - }
|
| - voe::ChannelOwner ch = shared_->channel_manager().GetChannel(channel);
|
| - voe::Channel* channelPtr = ch.channel();
|
| - if (channelPtr == nullptr) {
|
| - shared_->SetLastError(VE_CHANNEL_NOT_VALID, kTraceError,
|
| - "SetLocalReceiver() failed to locate channel");
|
| - return -1;
|
| - }
|
| - return channelPtr->StopReceiving();
|
| -}
|
| -
|
| int VoEBaseImpl::StartPlayout(int channel) {
|
| rtc::CritScope cs(shared_->crit_sec());
|
| if (!shared_->statistics().Initialized()) {
|
|
|