| 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 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 class ProcessThread; | 22 class ProcessThread; |
| 23 | 23 |
| 24 class VoEBaseImpl : public VoEBase, | 24 class VoEBaseImpl : public VoEBase, |
| 25 public AudioTransport, | 25 public AudioTransport, |
| 26 public AudioDeviceObserver { | 26 public AudioDeviceObserver { |
| 27 public: | 27 public: |
| 28 int RegisterVoiceEngineObserver(VoiceEngineObserver& observer) override; | 28 int RegisterVoiceEngineObserver(VoiceEngineObserver& observer) override; |
| 29 int DeRegisterVoiceEngineObserver() override; | 29 int DeRegisterVoiceEngineObserver() override; |
| 30 | 30 |
| 31 int Init(AudioDeviceModule* external_adm = nullptr, | 31 int Init( |
| 32 AudioProcessing* audioproc = nullptr, | 32 AudioDeviceModule* external_adm, AudioProcessing* external_apm, |
| 33 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory = | 33 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory) override; |
| 34 nullptr) override; | |
| 35 AudioProcessing* audio_processing() override { | |
| 36 return shared_->audio_processing(); | |
| 37 } | |
| 38 AudioDeviceModule* audio_device_module() override { | 34 AudioDeviceModule* audio_device_module() override { |
| 39 return shared_->audio_device(); | 35 return shared_->audio_device(); |
| 40 } | 36 } |
| 41 voe::TransmitMixer* transmit_mixer() override { | 37 voe::TransmitMixer* transmit_mixer() override { |
| 42 return shared_->transmit_mixer(); | 38 return shared_->transmit_mixer(); |
| 43 } | 39 } |
| 44 int Terminate() override; | 40 int Terminate() override; |
| 45 | 41 |
| 46 int CreateChannel() override; | 42 int CreateChannel() override; |
| 47 int CreateChannel(const ChannelConfig& config) override; | 43 int CreateChannel(const ChannelConfig& config) override; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 rtc::CriticalSection callbackCritSect_; | 117 rtc::CriticalSection callbackCritSect_; |
| 122 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 118 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 123 | 119 |
| 124 AudioFrame audioFrame_; | 120 AudioFrame audioFrame_; |
| 125 voe::SharedData* shared_; | 121 voe::SharedData* shared_; |
| 126 }; | 122 }; |
| 127 | 123 |
| 128 } // namespace webrtc | 124 } // namespace webrtc |
| 129 | 125 |
| 130 #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_IMPL_H | 126 #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_IMPL_H |
| OLD | NEW |