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

Side by Side Diff: webrtc/modules/audio_processing/include/audio_processing.h

Issue 1571013002: Remove additional channel constraints when Beamforming is enabled in AudioProcessing (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebasing Created 4 years, 11 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
« no previous file with comments | « webrtc/modules/audio_processing/gain_control_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 // TODO(peah): Remove after voice engine no longer requires it to resample 282 // TODO(peah): Remove after voice engine no longer requires it to resample
283 // the reverse stream to the forward rate. 283 // the reverse stream to the forward rate.
284 virtual int input_sample_rate_hz() const = 0; 284 virtual int input_sample_rate_hz() const = 0;
285 285
286 // TODO(ajm): Only intended for internal use. Make private and friend the 286 // TODO(ajm): Only intended for internal use. Make private and friend the
287 // necessary classes? 287 // necessary classes?
288 virtual int proc_sample_rate_hz() const = 0; 288 virtual int proc_sample_rate_hz() const = 0;
289 virtual int proc_split_sample_rate_hz() const = 0; 289 virtual int proc_split_sample_rate_hz() const = 0;
290 virtual int num_input_channels() const = 0; 290 virtual int num_input_channels() const = 0;
291 virtual int num_proc_channels() const = 0;
291 virtual int num_output_channels() const = 0; 292 virtual int num_output_channels() const = 0;
292 virtual int num_reverse_channels() const = 0; 293 virtual int num_reverse_channels() const = 0;
293 294
294 // Set to true when the output of AudioProcessing will be muted or in some 295 // Set to true when the output of AudioProcessing will be muted or in some
295 // other way not used. Ideally, the captured audio would still be processed, 296 // other way not used. Ideally, the captured audio would still be processed,
296 // but some components may change behavior based on this information. 297 // but some components may change behavior based on this information.
297 // Default false. 298 // Default false.
298 virtual void set_output_will_be_muted(bool muted) = 0; 299 virtual void set_output_will_be_muted(bool muted) = 0;
299 300
300 // Processes a 10 ms |frame| of the primary audio stream. On the client-side, 301 // Processes a 10 ms |frame| of the primary audio stream. On the client-side,
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 // This does not impact the size of frames passed to |ProcessStream()|. 949 // This does not impact the size of frames passed to |ProcessStream()|.
949 virtual int set_frame_size_ms(int size) = 0; 950 virtual int set_frame_size_ms(int size) = 0;
950 virtual int frame_size_ms() const = 0; 951 virtual int frame_size_ms() const = 0;
951 952
952 protected: 953 protected:
953 virtual ~VoiceDetection() {} 954 virtual ~VoiceDetection() {}
954 }; 955 };
955 } // namespace webrtc 956 } // namespace webrtc
956 957
957 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ 958 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/gain_control_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698