Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: webrtc/voice_engine/include/voe_base.h

Issue 2681033010: Remove usage of VoEAudioProcessing from WVoE/MC. (Closed)
Patch Set: one more Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 26 matching lines...) Expand all
37 #include "webrtc/api/audio_codecs/audio_decoder_factory.h" 37 #include "webrtc/api/audio_codecs/audio_decoder_factory.h"
38 #include "webrtc/base/scoped_ref_ptr.h" 38 #include "webrtc/base/scoped_ref_ptr.h"
39 #include "webrtc/common_types.h" 39 #include "webrtc/common_types.h"
40 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" 40 #include "webrtc/modules/audio_coding/include/audio_coding_module.h"
41 41
42 namespace webrtc { 42 namespace webrtc {
43 43
44 class AudioDeviceModule; 44 class AudioDeviceModule;
45 class AudioProcessing; 45 class AudioProcessing;
46 class AudioTransport; 46 class AudioTransport;
47 namespace voe {
48 class TransmitMixer;
49 } // namespace voe
47 50
48 // VoiceEngineObserver 51 // VoiceEngineObserver
49 class WEBRTC_DLLEXPORT VoiceEngineObserver { 52 class WEBRTC_DLLEXPORT VoiceEngineObserver {
50 public: 53 public:
51 // This method will be called after the occurrence of any runtime error 54 // This method will be called after the occurrence of any runtime error
52 // code, or warning notification, when the observer interface has been 55 // code, or warning notification, when the observer interface has been
53 // installed using VoEBase::RegisterVoiceEngineObserver(). 56 // installed using VoEBase::RegisterVoiceEngineObserver().
54 virtual void CallbackOnError(int channel, int errCode) = 0; 57 virtual void CallbackOnError(int channel, int errCode) = 0;
55 58
56 protected: 59 protected:
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 const rtc::scoped_refptr<AudioDecoderFactory>& 139 const rtc::scoped_refptr<AudioDecoderFactory>&
137 decoder_factory = nullptr) = 0; 140 decoder_factory = nullptr) = 0;
138 141
139 // Returns NULL before Init() is called. 142 // Returns NULL before Init() is called.
140 virtual AudioProcessing* audio_processing() = 0; 143 virtual AudioProcessing* audio_processing() = 0;
141 144
142 // This method is WIP - DO NOT USE! 145 // This method is WIP - DO NOT USE!
143 // Returns NULL before Init() is called. 146 // Returns NULL before Init() is called.
144 virtual AudioDeviceModule* audio_device_module() = 0; 147 virtual AudioDeviceModule* audio_device_module() = 0;
145 148
149 // This method is WIP - DO NOT USE!
150 // Returns NULL before Init() is called.
151 virtual voe::TransmitMixer* transmit_mixer() = 0;
152
146 // Terminates all VoiceEngine functions and releases allocated resources. 153 // Terminates all VoiceEngine functions and releases allocated resources.
147 // Returns 0. 154 // Returns 0.
148 virtual int Terminate() = 0; 155 virtual int Terminate() = 0;
149 156
150 // Creates a new channel and allocates the required resources for it. 157 // Creates a new channel and allocates the required resources for it.
151 // The second version accepts a |config| struct which includes an Audio Coding 158 // The second version accepts a |config| struct which includes an Audio Coding
152 // Module config and an option to enable voice pacing. Note that the 159 // Module config and an option to enable voice pacing. Note that the
153 // decoder_factory member of the ACM config will be ignored (the decoder 160 // decoder_factory member of the ACM config will be ignored (the decoder
154 // factory set through Init() will always be used). 161 // factory set through Init() will always be used).
155 // Returns channel ID or -1 in case of an error. 162 // Returns channel ID or -1 in case of an error.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual int AssociateSendChannel(int channel, int accociate_send_channel) = 0; 206 virtual int AssociateSendChannel(int channel, int accociate_send_channel) = 0;
200 207
201 protected: 208 protected:
202 VoEBase() {} 209 VoEBase() {}
203 virtual ~VoEBase() {} 210 virtual ~VoEBase() {}
204 }; 211 };
205 212
206 } // namespace webrtc 213 } // namespace webrtc
207 214
208 #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_H 215 #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_H
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | webrtc/voice_engine/test/auto_test/extended/agc_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698