| Index: webrtc/voice_engine/channel.h
|
| diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h
|
| index 3b478cafb98c61d239791b18d9f88b8c6e630b23..c86820f2a5d933ab2d039274ff4f91cd7e64f8cd 100644
|
| --- a/webrtc/voice_engine/channel.h
|
| +++ b/webrtc/voice_engine/channel.h
|
| @@ -88,7 +88,6 @@ class ChannelState {
|
| bool input_file_playing = false;
|
| bool playing = false;
|
| bool sending = false;
|
| - bool receiving = false;
|
| };
|
|
|
| ChannelState() {}
|
| @@ -129,11 +128,6 @@ class ChannelState {
|
| state_.sending = enable;
|
| }
|
|
|
| - void SetReceiving(bool enable) {
|
| - rtc::CritScope lock(&lock_);
|
| - state_.receiving = enable;
|
| - }
|
| -
|
| private:
|
| rtc::CriticalSection lock_;
|
| State state_;
|
| @@ -189,9 +183,7 @@ class Channel
|
| int32_t StopPlayout();
|
| int32_t StartSend();
|
| int32_t StopSend();
|
| - int32_t StartReceiving();
|
| - int32_t StopReceiving();
|
| -
|
| + void ResetDiscardedPacketCount();
|
| int32_t RegisterVoiceEngineObserver(VoiceEngineObserver& observer);
|
| int32_t DeRegisterVoiceEngineObserver();
|
|
|
| @@ -393,7 +385,6 @@ class Channel
|
| int32_t ChannelId() const { return _channelId; }
|
| bool Playing() const { return channel_state_.Get().playing; }
|
| bool Sending() const { return channel_state_.Get().sending; }
|
| - bool Receiving() const { return channel_state_.Get().receiving; }
|
| bool ExternalTransport() const {
|
| rtc::CritScope cs(&_callbackCritSect);
|
| return _externalTransport;
|
|
|