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

Side by Side Diff: chromeos/audio/audio_device.h

Issue 1320923005: Fill in mic_positions property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | chromeos/audio/audio_device.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) 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 type == AUDIO_TYPE_USB || 52 type == AUDIO_TYPE_USB ||
53 type == AUDIO_TYPE_BLUETOOTH || 53 type == AUDIO_TYPE_BLUETOOTH ||
54 type == AUDIO_TYPE_HDMI || 54 type == AUDIO_TYPE_HDMI ||
55 type == AUDIO_TYPE_INTERNAL_SPEAKER); 55 type == AUDIO_TYPE_INTERNAL_SPEAKER);
56 } 56 }
57 57
58 bool is_input; 58 bool is_input;
59 uint64 id; 59 uint64 id;
60 std::string display_name; 60 std::string display_name;
61 std::string device_name; 61 std::string device_name;
62 std::string mic_positions;
62 AudioDeviceType type; 63 AudioDeviceType type;
63 uint8 priority; 64 uint8 priority;
64 bool active; 65 bool active;
65 uint64 plugged_time; 66 uint64 plugged_time;
66 }; 67 };
67 68
68 typedef std::vector<AudioDevice> AudioDeviceList; 69 typedef std::vector<AudioDevice> AudioDeviceList;
69 typedef std::map<uint64, AudioDevice> AudioDeviceMap; 70 typedef std::map<uint64, AudioDevice> AudioDeviceMap;
70 71
71 struct AudioDeviceCompare { 72 struct AudioDeviceCompare {
(...skipping 13 matching lines...) Expand all
85 return true; 86 return true;
86 } else { 87 } else {
87 return false; 88 return false;
88 } 89 }
89 } 90 }
90 }; 91 };
91 92
92 } // namespace chromeos 93 } // namespace chromeos
93 94
94 #endif // CHROMEOS_AUDIO_AUDIO_DEVICE_H_ 95 #endif // CHROMEOS_AUDIO_AUDIO_DEVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/audio/audio_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698