OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |