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

Side by Side Diff: webrtc/modules/audio_device/audio_device_buffer.h

Issue 2665693002: Moves channel-dependent audio input processing to separate encoder task queue (Closed)
Patch Set: cleanup Created 3 years, 9 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698