1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ 6#define MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ 7 8#include <list> 9#include <string> 10#include "media/base/media_export.h" 11 12namespace media { 13 14struct MEDIA_EXPORT AudioDeviceName { 15 AudioDeviceName(); 16 AudioDeviceName(const std::string& device_name, 17 const std::string& unique_id); 18 19 std::string device_name; // Friendly name of the device. 20 std::string unique_id; // Unique identifier for the device. 21}; 22 23typedef std::list<AudioDeviceName> AudioDeviceNames; 24 25} // namespace media 26 27#endif // MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ 28