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

Unified Diff: media/audio/audio_device_types.h

Issue 7060011: Adding GetAudioInputDeviceNames to AudioManager, this function is supposed to do device enumerati... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: media/audio/audio_device_types.h
===================================================================
--- media/audio/audio_device_types.h (revision 0)
+++ media/audio/audio_device_types.h (revision 0)
@@ -0,0 +1,18 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
awong 2011/05/23 17:36:15 have you run lint?
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_AUDIO_AUDIO_DEVICE_TYPES_H_
+#define MEDIA_AUDIO_AUDIO_DEVICE_TYPES_H_
+
+#include <list>
+#include <string>
+
+struct AudioInputDeviceName {
awong 2011/05/23 17:36:15 Is there a reason to distinguish between input and
xians 2011/05/23 20:15:59 Good point! Done.
+ std::string device_name; // Name of the device.
+ std::string unique_id; // Unique identifier for the device.
+};
+
+typedef std::list<AudioInputDeviceName> AudioInputDeviceNames;
+
+#endif // MEDIA_AUDIO_AUDIO_DEVICE_TYPES_H_
Property changes on: media/audio/audio_device_types.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | media/audio/audio_input_device_unittest.cc » ('j') | media/audio/audio_input_device_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698