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_AUDIO_DEVICE_H_ | 5 #ifndef CHROMEOS_AUDIO_AUDIO_DEVICE_H_ |
6 #define CHROMEOS_AUDIO_AUDIO_DEVICE_H_ | 6 #define CHROMEOS_AUDIO_AUDIO_DEVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chromeos/chromeos_export.h" | 13 #include "chromeos/chromeos_export.h" |
14 #include "chromeos/dbus/audio_node.h" | 14 #include "chromeos/dbus/audio_node.h" |
15 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 | 17 |
18 // Ordered from the highest priority to the lowest. | 18 // Ordered from the highest priority to the lowest. |
19 enum AudioDeviceType { | 19 enum AudioDeviceType { |
20 AUDIO_TYPE_HEADPHONE, | 20 AUDIO_TYPE_HEADPHONE, |
21 AUDIO_TYPE_MIC, | 21 AUDIO_TYPE_MIC, |
22 AUDIO_TYPE_USB, | 22 AUDIO_TYPE_USB, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 return true; | 60 return true; |
61 } else { | 61 } else { |
62 return false; | 62 return false; |
63 } | 63 } |
64 } | 64 } |
65 }; | 65 }; |
66 | 66 |
67 } // namespace chromeos | 67 } // namespace chromeos |
68 | 68 |
69 #endif // CHROMEOS_AUDIO_AUDIO_DEVICE_H_ | 69 #endif // CHROMEOS_AUDIO_AUDIO_DEVICE_H_ |
OLD | NEW |