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

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

Issue 2549143004: Added histogram for the output level int the audio processing module (Closed)
Patch Set: Created 4 years 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 size_t agc_render_queue_element_max_size_ GUARDED_BY(crit_render_) 400 size_t agc_render_queue_element_max_size_ GUARDED_BY(crit_render_)
401 GUARDED_BY(crit_capture_) = 0; 401 GUARDED_BY(crit_capture_) = 0;
402 std::vector<int16_t> agc_render_queue_buffer_ GUARDED_BY(crit_render_); 402 std::vector<int16_t> agc_render_queue_buffer_ GUARDED_BY(crit_render_);
403 std::vector<int16_t> agc_capture_queue_buffer_ GUARDED_BY(crit_capture_); 403 std::vector<int16_t> agc_capture_queue_buffer_ GUARDED_BY(crit_capture_);
404 404
405 size_t red_render_queue_element_max_size_ GUARDED_BY(crit_render_) 405 size_t red_render_queue_element_max_size_ GUARDED_BY(crit_render_)
406 GUARDED_BY(crit_capture_) = 0; 406 GUARDED_BY(crit_capture_) = 0;
407 std::vector<float> red_render_queue_buffer_ GUARDED_BY(crit_render_); 407 std::vector<float> red_render_queue_buffer_ GUARDED_BY(crit_render_);
408 std::vector<float> red_capture_queue_buffer_ GUARDED_BY(crit_capture_); 408 std::vector<float> red_capture_queue_buffer_ GUARDED_BY(crit_capture_);
409 409
410 RmsLevel rms_ GUARDED_BY(crit_capture_); 410 RmsLevel capture_input_rms_ GUARDED_BY(crit_capture_);
411 int rms_interval_counter_ GUARDED_BY(crit_capture_) = 0; 411 RmsLevel capture_output_rms_ GUARDED_BY(crit_capture_);
412 int capture_rms_interval_counter_ GUARDED_BY(crit_capture_) = 0;
412 413
413 // Lock protection not needed. 414 // Lock protection not needed.
414 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> 415 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>
415 aec_render_signal_queue_; 416 aec_render_signal_queue_;
416 std::unique_ptr< 417 std::unique_ptr<
417 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 418 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
418 aecm_render_signal_queue_; 419 aecm_render_signal_queue_;
419 std::unique_ptr< 420 std::unique_ptr<
420 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 421 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
421 agc_render_signal_queue_; 422 agc_render_signal_queue_;
422 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> 423 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>
423 red_render_signal_queue_; 424 red_render_signal_queue_;
424 }; 425 };
425 426
426 } // namespace webrtc 427 } // namespace webrtc
427 428
428 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 429 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698