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