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

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

Issue 2995043002: AGC2 dummy module: fixed gain param, APM integration, audioproc_f adaptation (Closed)
Patch Set: UT fix Created 3 years, 4 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // Only the rate and samples fields of capture_processing_format_ are used 423 // Only the rate and samples fields of capture_processing_format_ are used
424 // because the forward processing number of channels is mutable and is 424 // because the forward processing number of channels is mutable and is
425 // tracked by the capture_audio_. 425 // tracked by the capture_audio_.
426 StreamConfig capture_processing_format; 426 StreamConfig capture_processing_format;
427 int split_rate; 427 int split_rate;
428 int stream_delay_ms; 428 int stream_delay_ms;
429 bool beamformer_enabled; 429 bool beamformer_enabled;
430 bool intelligibility_enabled; 430 bool intelligibility_enabled;
431 bool level_controller_enabled = false; 431 bool level_controller_enabled = false;
432 bool echo_canceller3_enabled = false; 432 bool echo_canceller3_enabled = false;
433 bool gain_controller2_enabled = false;
434 } capture_nonlocked_; 433 } capture_nonlocked_;
435 434
436 struct ApmRenderState { 435 struct ApmRenderState {
437 ApmRenderState(); 436 ApmRenderState();
438 ~ApmRenderState(); 437 ~ApmRenderState();
439 std::unique_ptr<AudioConverter> render_converter; 438 std::unique_ptr<AudioConverter> render_converter;
440 std::unique_ptr<AudioBuffer> render_audio; 439 std::unique_ptr<AudioBuffer> render_audio;
441 } render_ GUARDED_BY(crit_render_); 440 } render_ GUARDED_BY(crit_render_);
442 441
443 size_t aec_render_queue_element_max_size_ GUARDED_BY(crit_render_) 442 size_t aec_render_queue_element_max_size_ GUARDED_BY(crit_render_)
(...skipping 29 matching lines...) Expand all
473 std::unique_ptr< 472 std::unique_ptr<
474 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 473 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
475 agc_render_signal_queue_; 474 agc_render_signal_queue_;
476 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> 475 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>
477 red_render_signal_queue_; 476 red_render_signal_queue_;
478 }; 477 };
479 478
480 } // namespace webrtc 479 } // namespace webrtc
481 480
482 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 481 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698