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/modules/audio_processing/audio_processing_impl.h

Issue 1379123002: Removed unused API functions in AudioProcessing and AudioProcessingModule (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // AudioProcessing methods. 61 // AudioProcessing methods.
62 int Initialize() override; 62 int Initialize() override;
63 int Initialize(int input_sample_rate_hz, 63 int Initialize(int input_sample_rate_hz,
64 int output_sample_rate_hz, 64 int output_sample_rate_hz,
65 int reverse_sample_rate_hz, 65 int reverse_sample_rate_hz,
66 ChannelLayout input_layout, 66 ChannelLayout input_layout,
67 ChannelLayout output_layout, 67 ChannelLayout output_layout,
68 ChannelLayout reverse_layout) override; 68 ChannelLayout reverse_layout) override;
69 int Initialize(const ProcessingConfig& processing_config) override; 69 int Initialize(const ProcessingConfig& processing_config) override;
70 void SetExtraOptions(const Config& config) override; 70 void SetExtraOptions(const Config& config) override;
71 int set_sample_rate_hz(int rate) override;
72 int input_sample_rate_hz() const override;
73 int sample_rate_hz() const override;
74 int proc_sample_rate_hz() const override; 71 int proc_sample_rate_hz() const override;
75 int proc_split_sample_rate_hz() const override; 72 int proc_split_sample_rate_hz() const override;
76 int num_input_channels() const override; 73 int num_input_channels() const override;
77 int num_output_channels() const override; 74 int num_output_channels() const override;
78 int num_reverse_channels() const override; 75 int num_reverse_channels() const override;
79 void set_output_will_be_muted(bool muted) override; 76 void set_output_will_be_muted(bool muted) override;
80 bool output_will_be_muted() const override;
81 int ProcessStream(AudioFrame* frame) override; 77 int ProcessStream(AudioFrame* frame) override;
82 int ProcessStream(const float* const* src, 78 int ProcessStream(const float* const* src,
83 size_t samples_per_channel, 79 size_t samples_per_channel,
84 int input_sample_rate_hz, 80 int input_sample_rate_hz,
85 ChannelLayout input_layout, 81 ChannelLayout input_layout,
86 int output_sample_rate_hz, 82 int output_sample_rate_hz,
87 ChannelLayout output_layout, 83 ChannelLayout output_layout,
88 float* const* dest) override; 84 float* const* dest) override;
89 int ProcessStream(const float* const* src, 85 int ProcessStream(const float* const* src,
90 const StreamConfig& input_config, 86 const StreamConfig& input_config,
91 const StreamConfig& output_config, 87 const StreamConfig& output_config,
92 float* const* dest) override; 88 float* const* dest) override;
93 int AnalyzeReverseStream(AudioFrame* frame) override; 89 int AnalyzeReverseStream(AudioFrame* frame) override;
94 int ProcessReverseStream(AudioFrame* frame) override; 90 int ProcessReverseStream(AudioFrame* frame) override;
95 int AnalyzeReverseStream(const float* const* data, 91 int AnalyzeReverseStream(const float* const* data,
96 size_t samples_per_channel, 92 size_t samples_per_channel,
97 int sample_rate_hz, 93 int sample_rate_hz,
98 ChannelLayout layout) override; 94 ChannelLayout layout) override;
99 int ProcessReverseStream(const float* const* src, 95 int ProcessReverseStream(const float* const* src,
100 const StreamConfig& reverse_input_config, 96 const StreamConfig& reverse_input_config,
101 const StreamConfig& reverse_output_config, 97 const StreamConfig& reverse_output_config,
102 float* const* dest) override; 98 float* const* dest) override;
103 int set_stream_delay_ms(int delay) override; 99 int set_stream_delay_ms(int delay) override;
104 int stream_delay_ms() const override; 100 int stream_delay_ms() const override;
105 bool was_stream_delay_set() const override; 101 bool was_stream_delay_set() const override;
106 void set_delay_offset_ms(int offset) override; 102 void set_delay_offset_ms(int offset) override;
107 int delay_offset_ms() const override; 103 int delay_offset_ms() const override;
108 void set_stream_key_pressed(bool key_pressed) override; 104 void set_stream_key_pressed(bool key_pressed) override;
109 bool stream_key_pressed() const override;
110 int StartDebugRecording(const char filename[kMaxFilenameSize]) override; 105 int StartDebugRecording(const char filename[kMaxFilenameSize]) override;
111 int StartDebugRecording(FILE* handle) override; 106 int StartDebugRecording(FILE* handle) override;
112 int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) override; 107 int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) override;
113 int StopDebugRecording() override; 108 int StopDebugRecording() override;
114 void UpdateHistogramsOnCallEnd() override; 109 void UpdateHistogramsOnCallEnd() override;
115 EchoCancellation* echo_cancellation() const override; 110 EchoCancellation* echo_cancellation() const override;
116 EchoControlMobile* echo_control_mobile() const override; 111 EchoControlMobile* echo_control_mobile() const override;
117 GainControl* gain_control() const override; 112 GainControl* gain_control() const override;
118 HighPassFilter* high_pass_filter() const override; 113 HighPassFilter* high_pass_filter() const override;
119 LevelEstimator* level_estimator() const override; 114 LevelEstimator* level_estimator() const override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 rtc::scoped_ptr<Beamformer<float>> beamformer_; 200 rtc::scoped_ptr<Beamformer<float>> beamformer_;
206 const std::vector<Point> array_geometry_; 201 const std::vector<Point> array_geometry_;
207 202
208 bool intelligibility_enabled_; 203 bool intelligibility_enabled_;
209 rtc::scoped_ptr<IntelligibilityEnhancer> intelligibility_enhancer_; 204 rtc::scoped_ptr<IntelligibilityEnhancer> intelligibility_enhancer_;
210 }; 205 };
211 206
212 } // namespace webrtc 207 } // namespace webrtc
213 208
214 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 209 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698