| OLD | NEW |
| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 virtual void DisableAudioNetworkAdaptor(); | 90 virtual void DisableAudioNetworkAdaptor(); |
| 91 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, | 91 virtual void SetReceiverFrameLengthRange(int min_frame_length_ms, |
| 92 int max_frame_length_ms); | 92 int max_frame_length_ms); |
| 93 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( | 93 virtual AudioMixer::Source::AudioFrameInfo GetAudioFrameWithInfo( |
| 94 int sample_rate_hz, | 94 int sample_rate_hz, |
| 95 AudioFrame* audio_frame); | 95 AudioFrame* audio_frame); |
| 96 virtual int NeededFrequency() const; | 96 virtual int NeededFrequency() const; |
| 97 virtual void SetTransportOverhead(int transport_overhead_per_packet); | 97 virtual void SetTransportOverhead(int transport_overhead_per_packet); |
| 98 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); | 98 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); |
| 99 virtual void DisassociateSendChannel(); | 99 virtual void DisassociateSendChannel(); |
| 100 virtual void AdaptCodec(); |
| 100 | 101 |
| 101 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats); | 102 virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats); |
| 102 | 103 |
| 103 private: | 104 private: |
| 104 Channel* channel() const; | 105 Channel* channel() const; |
| 105 | 106 |
| 106 rtc::ThreadChecker thread_checker_; | 107 rtc::ThreadChecker thread_checker_; |
| 107 rtc::RaceChecker race_checker_; | 108 rtc::RaceChecker race_checker_; |
| 109 rtc::RaceChecker worker_queue_checker_; |
| 108 ChannelOwner channel_owner_; | 110 ChannelOwner channel_owner_; |
| 109 | 111 |
| 110 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 112 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
| 111 }; | 113 }; |
| 112 } // namespace voe | 114 } // namespace voe |
| 113 } // namespace webrtc | 115 } // namespace webrtc |
| 114 | 116 |
| 115 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 117 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
| OLD | NEW |