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

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

Issue 1227213002: Update audio code to use size_t more correctly, webrtc/modules/audio_processing/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void DestroyHandle(void* handle) const override; 50 void DestroyHandle(void* handle) const override;
51 int num_handles_required() const override; 51 int num_handles_required() const override;
52 int GetHandleError(void* handle) const override; 52 int GetHandleError(void* handle) const override;
53 53
54 const AudioProcessing* apm_; 54 const AudioProcessing* apm_;
55 CriticalSectionWrapper* crit_; 55 CriticalSectionWrapper* crit_;
56 bool stream_has_voice_; 56 bool stream_has_voice_;
57 bool using_external_vad_; 57 bool using_external_vad_;
58 Likelihood likelihood_; 58 Likelihood likelihood_;
59 int frame_size_ms_; 59 int frame_size_ms_;
60 int frame_size_samples_; 60 size_t frame_size_samples_;
61 }; 61 };
62 } // namespace webrtc 62 } // namespace webrtc
63 63
64 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_ 64 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_VOICE_DETECTION_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/vad/common.h ('k') | webrtc/modules/audio_processing/voice_detection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698