| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 20 matching lines...) Expand all Loading... |
| 31 int Init(AudioDeviceModule* external_adm = nullptr, | 31 int Init(AudioDeviceModule* external_adm = nullptr, |
| 32 AudioProcessing* audioproc = nullptr, | 32 AudioProcessing* audioproc = nullptr, |
| 33 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory = | 33 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory = |
| 34 nullptr) override; | 34 nullptr) override; |
| 35 AudioProcessing* audio_processing() override { | 35 AudioProcessing* audio_processing() override { |
| 36 return shared_->audio_processing(); | 36 return shared_->audio_processing(); |
| 37 } | 37 } |
| 38 AudioDeviceModule* audio_device_module() override { | 38 AudioDeviceModule* audio_device_module() override { |
| 39 return shared_->audio_device(); | 39 return shared_->audio_device(); |
| 40 } | 40 } |
| 41 voe::TransmitMixer* transmit_mixer() override { |
| 42 return shared_->transmit_mixer(); |
| 43 } |
| 41 int Terminate() override; | 44 int Terminate() override; |
| 42 | 45 |
| 43 int CreateChannel() override; | 46 int CreateChannel() override; |
| 44 int CreateChannel(const ChannelConfig& config) override; | 47 int CreateChannel(const ChannelConfig& config) override; |
| 45 int DeleteChannel(int channel) override; | 48 int DeleteChannel(int channel) override; |
| 46 | 49 |
| 47 int StartReceive(int channel) override; | 50 int StartReceive(int channel) override; |
| 48 int StartPlayout(int channel) override; | 51 int StartPlayout(int channel) override; |
| 49 int StartSend(int channel) override; | 52 int StartSend(int channel) override; |
| 50 int StopPlayout(int channel) override; | 53 int StopPlayout(int channel) override; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 rtc::CriticalSection callbackCritSect_; | 133 rtc::CriticalSection callbackCritSect_; |
| 131 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 134 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 132 | 135 |
| 133 AudioFrame audioFrame_; | 136 AudioFrame audioFrame_; |
| 134 voe::SharedData* shared_; | 137 voe::SharedData* shared_; |
| 135 }; | 138 }; |
| 136 | 139 |
| 137 } // namespace webrtc | 140 } // namespace webrtc |
| 138 | 141 |
| 139 #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_IMPL_H | 142 #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_IMPL_H |
| OLD | NEW |