diff options
Diffstat (limited to 'media/audio/audio_device_name.h')
-rw-r--r-- | media/audio/audio_device_name.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media/audio/audio_device_name.h b/media/audio/audio_device_name.h new file mode 100644 index 0000000..ef3cd77 --- /dev/null +++ b/media/audio/audio_device_name.h @@ -0,0 +1,22 @@ +// 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_NAME_H_ +#define MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ + +#include <list> +#include <string> + +namespace media { + +struct AudioDeviceName { + std::string device_name; // Name and also display name of the device. + std::string unique_id; // Unique identifier for the device. +}; + +typedef std::list<AudioDeviceName> AudioDeviceNames; + +} // namespace media + +#endif // MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ |