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

Side by Side Diff: webrtc/media/engine/fakewebrtcvoiceengine.h

Issue 1993783002: Moved CreateBuiltinDecoderFactory out to VoEBaseImpl. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@audio-decoder-factory-injections-2
Patch Set: Created 4 years, 7 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) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 int GetAssociateSendChannel(int channel) { 222 int GetAssociateSendChannel(int channel) {
223 return channels_[channel]->associate_send_channel; 223 return channels_[channel]->associate_send_channel;
224 } 224 }
225 225
226 WEBRTC_STUB(Release, ()); 226 WEBRTC_STUB(Release, ());
227 227
228 // webrtc::VoEBase 228 // webrtc::VoEBase
229 WEBRTC_STUB(RegisterVoiceEngineObserver, ( 229 WEBRTC_STUB(RegisterVoiceEngineObserver, (
230 webrtc::VoiceEngineObserver& observer)); 230 webrtc::VoiceEngineObserver& observer));
231 WEBRTC_STUB(DeRegisterVoiceEngineObserver, ()); 231 WEBRTC_STUB(DeRegisterVoiceEngineObserver, ());
232 WEBRTC_FUNC(Init, (webrtc::AudioDeviceModule* adm, 232 WEBRTC_FUNC(Init,
233 webrtc::AudioProcessing* audioproc)) { 233 (webrtc::AudioDeviceModule * adm,
kwiberg-webrtc 2016/05/25 09:19:16 Spurios space.
ossu 2016/05/26 12:09:53 Acknowledged.
234 webrtc::AudioProcessing* audioproc,
235 const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
236 decoder_factory)) {
234 inited_ = true; 237 inited_ = true;
235 return 0; 238 return 0;
236 } 239 }
237 WEBRTC_FUNC(Terminate, ()) { 240 WEBRTC_FUNC(Terminate, ()) {
238 inited_ = false; 241 inited_ = false;
239 return 0; 242 return 0;
240 } 243 }
241 webrtc::AudioProcessing* audio_processing() override { 244 webrtc::AudioProcessing* audio_processing() override {
242 return &audio_processing_; 245 return &audio_processing_;
243 } 246 }
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; 665 webrtc::NsModes ns_mode_ = webrtc::kNsDefault;
663 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; 666 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault;
664 webrtc::AgcConfig agc_config_; 667 webrtc::AgcConfig agc_config_;
665 int playout_fail_channel_ = -1; 668 int playout_fail_channel_ = -1;
666 FakeAudioProcessing audio_processing_; 669 FakeAudioProcessing audio_processing_;
667 }; 670 };
668 671
669 } // namespace cricket 672 } // namespace cricket
670 673
671 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ 674 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698