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

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

Issue 2292863002: Introduced new scheme for controlling the functionality inside the audio processing module (Closed)
Patch Set: Changes in response to reviewer comments Created 4 years, 3 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 WEBRTC_STUB(Initialize, ( 46 WEBRTC_STUB(Initialize, (
47 int input_sample_rate_hz, 47 int input_sample_rate_hz,
48 int output_sample_rate_hz, 48 int output_sample_rate_hz,
49 int reverse_sample_rate_hz, 49 int reverse_sample_rate_hz,
50 webrtc::AudioProcessing::ChannelLayout input_layout, 50 webrtc::AudioProcessing::ChannelLayout input_layout,
51 webrtc::AudioProcessing::ChannelLayout output_layout, 51 webrtc::AudioProcessing::ChannelLayout output_layout,
52 webrtc::AudioProcessing::ChannelLayout reverse_layout)); 52 webrtc::AudioProcessing::ChannelLayout reverse_layout));
53 WEBRTC_STUB(Initialize, ( 53 WEBRTC_STUB(Initialize, (
54 const webrtc::ProcessingConfig& processing_config)); 54 const webrtc::ProcessingConfig& processing_config));
55 55
56 WEBRTC_BOOL_STUB(ApplyConfig, (const AudioProcessing::Config& config));
56 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { 57 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) {
57 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; 58 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled;
58 } 59 }
59 60
60 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); 61 WEBRTC_STUB_CONST(proc_sample_rate_hz, ());
61 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); 62 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ());
62 size_t num_input_channels() const override { return 0; } 63 size_t num_input_channels() const override { return 0; }
63 size_t num_proc_channels() const override { return 0; } 64 size_t num_proc_channels() const override { return 0; }
64 size_t num_output_channels() const override { return 0; } 65 size_t num_output_channels() const override { return 0; }
65 size_t num_reverse_channels() const override { return 0; } 66 size_t num_reverse_channels() const override { return 0; }
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone; 560 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone;
560 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; 561 webrtc::NsModes ns_mode_ = webrtc::kNsDefault;
561 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; 562 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault;
562 webrtc::AgcConfig agc_config_; 563 webrtc::AgcConfig agc_config_;
563 FakeAudioProcessing audio_processing_; 564 FakeAudioProcessing audio_processing_;
564 }; 565 };
565 566
566 } // namespace cricket 567 } // namespace cricket
567 568
568 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ 569 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | webrtc/media/engine/webrtcvoiceengine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698