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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
244 | 244 |
245 // Set to true at construction and modified to false as soon as one audio- | 245 // Set to true at construction and modified to false as soon as one audio- |
246 // level estimate larger than zero is detected. | 246 // level estimate larger than zero is detected. |
247 bool only_silence_recorded_; | 247 bool only_silence_recorded_; |
248 | 248 |
249 // Set to true when logging of audio stats is enabled for the first time in | 249 // Set to true when logging of audio stats is enabled for the first time in |
250 // StartPeriodicLogging() and set to false by StopPeriodicLogging(). | 250 // StartPeriodicLogging() and set to false by StopPeriodicLogging(). |
251 // Setting this member to false prevents (possiby invalid) log messages from | 251 // Setting this member to false prevents (possiby invalid) log messages from |
252 // being printed in the LogStats() task. | 252 // being printed in the LogStats() task. |
253 bool log_stats_ ACCESS_ON(task_queue_); | 253 bool log_stats_ ACCESS_ON(task_queue_); |
254 | |
255 // TODO(henrika): to be removed... (only used for tesing of this CL)! | |
tommi
2017/03/28 13:01:40
tesing? what is tesing?!?!? I'm so confused
| |
256 int64_t max_diff_time_ = 0; | |
257 int64_t num_diff_times_ = 0; | |
258 int64_t acc_diff_times_ = 0; | |
254 }; | 259 }; |
255 | 260 |
256 } // namespace webrtc | 261 } // namespace webrtc |
257 | 262 |
258 #endif // WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_ | 263 #endif // WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_ |
OLD | NEW |