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

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

Issue 1422013002: Preparational work for an upcoming addition of a threadchecking scheme for APM (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@bundling_of_state_CL
Patch Set: Changes in response to user comments Created 5 years, 1 month 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
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_
13 13
14 #include "webrtc/base/thread_checker.h"
hlundin-webrtc 2015/11/05 13:08:55 Why?
peah-webrtc 2015/11/06 07:31:14 Not needed it turned out. Initially all public met
14 #include "webrtc/modules/audio_processing/include/audio_processing.h" 15 #include "webrtc/modules/audio_processing/include/audio_processing.h"
15 #include "webrtc/modules/audio_processing/processing_component.h" 16 #include "webrtc/modules/audio_processing/processing_component.h"
16 17
17 namespace webrtc { 18 namespace webrtc {
18 19
19 class AudioBuffer; 20 class AudioBuffer;
20 class CriticalSectionWrapper; 21 class CriticalSectionWrapper;
21 22
22 class VoiceDetectionImpl : public VoiceDetection, 23 class VoiceDetectionImpl : public VoiceDetection,
23 public ProcessingComponent { 24 public ProcessingComponent {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 CriticalSectionWrapper* crit_; 56 CriticalSectionWrapper* crit_;
56 bool stream_has_voice_; 57 bool stream_has_voice_;
57 bool using_external_vad_; 58 bool using_external_vad_;
58 Likelihood likelihood_; 59 Likelihood likelihood_;
59 int frame_size_ms_; 60 int frame_size_ms_;
60 size_t frame_size_samples_; 61 size_t frame_size_samples_;
61 }; 62 };
62 } // namespace webrtc 63 } // namespace webrtc
63 64
64 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_ 65 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698