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