OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 5 #ifndef CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
6 #define CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 6 #define CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 uint64_t active_input_node_id_; | 349 uint64_t active_input_node_id_; |
350 bool has_alternative_input_; | 350 bool has_alternative_input_; |
351 bool has_alternative_output_; | 351 bool has_alternative_output_; |
352 | 352 |
353 bool output_mute_locked_; | 353 bool output_mute_locked_; |
354 | 354 |
355 // Failures are not logged at startup, since CRAS may not be running yet. | 355 // Failures are not logged at startup, since CRAS may not be running yet. |
356 bool log_errors_; | 356 bool log_errors_; |
357 | 357 |
358 // Timer for HDMI re-discovering grace period. | 358 // Timer for HDMI re-discovering grace period. |
359 base::OneShotTimer<CrasAudioHandler> hdmi_rediscover_timer_; | 359 base::OneShotTimer hdmi_rediscover_timer_; |
360 int hdmi_rediscover_grace_period_duration_in_ms_; | 360 int hdmi_rediscover_grace_period_duration_in_ms_; |
361 bool hdmi_rediscovering_; | 361 bool hdmi_rediscovering_; |
362 | 362 |
363 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; | 363 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_; |
364 | 364 |
365 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler); | 365 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler); |
366 }; | 366 }; |
367 | 367 |
368 } // namespace chromeos | 368 } // namespace chromeos |
369 | 369 |
370 #endif // CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ | 370 #endif // CHROMEOS_AUDIO_CRAS_AUDIO_HANDLER_H_ |
OLD | NEW |