Chromium Code Reviews| 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) 2011 The Chromium Authors. All rights reserved. |
| +// 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> |
|
awong
2011/05/23 21:17:58
This should all be in the media namespace.
xians
2011/05/24 13:50:27
Done.
|
| +#include <string> |
| + |
| +struct AudioDeviceName { |
|
awong
2011/05/23 21:17:58
BTW, this struct has non-POD data members. I think
xians
2011/05/24 13:50:27
I tried the Clang compiler, but dont have the acce
awong
2011/05/24 23:30:32
Ah...I see. I'll run it through the try bot for y
|
| + std::string device_name; // Name of the device. |
|
awong
2011/05/23 21:17:58
If this name is meant to be a display name, it sho
xians
2011/05/24 13:50:27
Done.
|
| + std::string unique_id; // Unique identifier for the device. |
| +}; |
| + |
| +typedef std::list<AudioDeviceName> AudioDeviceNames; |
| + |
| +#endif // MEDIA_AUDIO_AUDIO_DEVICE_TYPES_H_ |
| Property changes on: media/audio/audio_device_types.h |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |