OLD | NEW |
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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 size_t agc_render_queue_element_max_size_ GUARDED_BY(crit_render_) | 408 size_t agc_render_queue_element_max_size_ GUARDED_BY(crit_render_) |
409 GUARDED_BY(crit_capture_) = 0; | 409 GUARDED_BY(crit_capture_) = 0; |
410 std::vector<int16_t> agc_render_queue_buffer_ GUARDED_BY(crit_render_); | 410 std::vector<int16_t> agc_render_queue_buffer_ GUARDED_BY(crit_render_); |
411 std::vector<int16_t> agc_capture_queue_buffer_ GUARDED_BY(crit_capture_); | 411 std::vector<int16_t> agc_capture_queue_buffer_ GUARDED_BY(crit_capture_); |
412 | 412 |
413 size_t red_render_queue_element_max_size_ GUARDED_BY(crit_render_) | 413 size_t red_render_queue_element_max_size_ GUARDED_BY(crit_render_) |
414 GUARDED_BY(crit_capture_) = 0; | 414 GUARDED_BY(crit_capture_) = 0; |
415 std::vector<float> red_render_queue_buffer_ GUARDED_BY(crit_render_); | 415 std::vector<float> red_render_queue_buffer_ GUARDED_BY(crit_render_); |
416 std::vector<float> red_capture_queue_buffer_ GUARDED_BY(crit_capture_); | 416 std::vector<float> red_capture_queue_buffer_ GUARDED_BY(crit_capture_); |
417 | 417 |
418 RmsLevel rms_ GUARDED_BY(crit_capture_); | 418 RmsLevel capture_input_rms_ GUARDED_BY(crit_capture_); |
419 int rms_interval_counter_ GUARDED_BY(crit_capture_) = 0; | 419 RmsLevel capture_output_rms_ GUARDED_BY(crit_capture_); |
| 420 int capture_rms_interval_counter_ GUARDED_BY(crit_capture_) = 0; |
420 | 421 |
421 // Lock protection not needed. | 422 // Lock protection not needed. |
422 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> | 423 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> |
423 aec_render_signal_queue_; | 424 aec_render_signal_queue_; |
424 std::unique_ptr< | 425 std::unique_ptr< |
425 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> | 426 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> |
426 aecm_render_signal_queue_; | 427 aecm_render_signal_queue_; |
427 std::unique_ptr< | 428 std::unique_ptr< |
428 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> | 429 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> |
429 agc_render_signal_queue_; | 430 agc_render_signal_queue_; |
430 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> | 431 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> |
431 red_render_signal_queue_; | 432 red_render_signal_queue_; |
432 }; | 433 }; |
433 | 434 |
434 } // namespace webrtc | 435 } // namespace webrtc |
435 | 436 |
436 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 437 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |