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

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

Issue 2808073002: Add information about microphone gain changes to AEC3 (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 bool key_pressed; 359 bool key_pressed;
360 bool transient_suppressor_enabled; 360 bool transient_suppressor_enabled;
361 std::vector<Point> array_geometry; 361 std::vector<Point> array_geometry;
362 SphericalPointf target_direction; 362 SphericalPointf target_direction;
363 std::unique_ptr<AudioBuffer> capture_audio; 363 std::unique_ptr<AudioBuffer> capture_audio;
364 // Only the rate and samples fields of capture_processing_format_ are used 364 // Only the rate and samples fields of capture_processing_format_ are used
365 // because the capture processing number of channels is mutable and is 365 // because the capture processing number of channels is mutable and is
366 // tracked by the capture_audio_. 366 // tracked by the capture_audio_.
367 StreamConfig capture_processing_format; 367 StreamConfig capture_processing_format;
368 int split_rate; 368 int split_rate;
369 int previous_agc_level;
370 bool echo_path_gain_change;
369 } capture_ GUARDED_BY(crit_capture_); 371 } capture_ GUARDED_BY(crit_capture_);
370 372
371 struct ApmCaptureNonLockedState { 373 struct ApmCaptureNonLockedState {
372 ApmCaptureNonLockedState(bool beamformer_enabled, 374 ApmCaptureNonLockedState(bool beamformer_enabled,
373 bool intelligibility_enabled) 375 bool intelligibility_enabled)
374 : capture_processing_format(kSampleRate16kHz), 376 : capture_processing_format(kSampleRate16kHz),
375 split_rate(kSampleRate16kHz), 377 split_rate(kSampleRate16kHz),
376 stream_delay_ms(0), 378 stream_delay_ms(0),
377 beamformer_enabled(beamformer_enabled), 379 beamformer_enabled(beamformer_enabled),
378 intelligibility_enabled(intelligibility_enabled) {} 380 intelligibility_enabled(intelligibility_enabled) {}
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 std::unique_ptr< 430 std::unique_ptr<
429 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 431 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
430 agc_render_signal_queue_; 432 agc_render_signal_queue_;
431 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> 433 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>
432 red_render_signal_queue_; 434 red_render_signal_queue_;
433 }; 435 };
434 436
435 } // namespace webrtc 437 } // namespace webrtc
436 438
437 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 439 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698