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

Side by Side Diff: media/audio/audio_input_controller.h

Issue 537573002: Adding Media.InputStreamDuration to UMA histograms for low-latency input audio streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now builds on all platforms Created 6 years, 3 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
« no previous file with comments | « no previous file | media/audio/audio_input_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
6 #define MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 6 #define MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/atomicops.h" 9 #include "base/atomicops.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 362
363 // Whether the silence state should sent as UMA stat. 363 // Whether the silence state should sent as UMA stat.
364 bool log_silence_state_; 364 bool log_silence_state_;
365 365
366 // The silence report sent as UMA stat at the end of a session. 366 // The silence report sent as UMA stat at the end of a session.
367 SilenceState silence_state_; 367 SilenceState silence_state_;
368 #endif 368 #endif
369 369
370 size_t prev_key_down_count_; 370 size_t prev_key_down_count_;
371 371
372 // Time when a low-latency stream is created.
373 base::TimeTicks low_latency_create_time_;
374
372 DISALLOW_COPY_AND_ASSIGN(AudioInputController); 375 DISALLOW_COPY_AND_ASSIGN(AudioInputController);
373 }; 376 };
374 377
375 } // namespace media 378 } // namespace media
376 379
377 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 380 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/audio_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698