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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 GetAudioDecoderFactory() const; | 84 GetAudioDecoderFactory() const; |
85 virtual void SetChannelOutputVolumeScaling(float scaling); | 85 virtual void SetChannelOutputVolumeScaling(float scaling); |
86 virtual void SetRtcEventLog(RtcEventLog* event_log); | 86 virtual void SetRtcEventLog(RtcEventLog* event_log); |
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 | |
95 virtual int NeededFrequency() const; | 94 virtual int NeededFrequency() const; |
96 | |
97 virtual void SetTransportOverhead(int transport_overhead_per_packet); | 95 virtual void SetTransportOverhead(int transport_overhead_per_packet); |
| 96 virtual void AssociateSendChannel(const ChannelProxy& send_channel_proxy); |
| 97 virtual void DisassociateSendChannel(); |
98 | 98 |
99 private: | 99 private: |
100 Channel* channel() const; | 100 Channel* channel() const; |
101 | 101 |
102 rtc::ThreadChecker thread_checker_; | 102 rtc::ThreadChecker thread_checker_; |
103 rtc::RaceChecker race_checker_; | 103 rtc::RaceChecker race_checker_; |
104 ChannelOwner channel_owner_; | 104 ChannelOwner channel_owner_; |
105 | 105 |
106 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); | 106 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); |
107 }; | 107 }; |
108 } // namespace voe | 108 } // namespace voe |
109 } // namespace webrtc | 109 } // namespace webrtc |
110 | 110 |
111 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ | 111 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
OLD | NEW |