summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_device_name.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/audio_device_name.h')
-rw-r--r--media/audio/audio_device_name.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/media/audio/audio_device_name.h b/media/audio/audio_device_name.h
index ef3cd77..aa3cca0 100644
--- a/media/audio/audio_device_name.h
+++ b/media/audio/audio_device_name.h
@@ -7,11 +7,16 @@
#include <list>
#include <string>
+#include "media/base/media_export.h"
namespace media {
-struct AudioDeviceName {
- std::string device_name; // Name and also display name of the device.
+struct MEDIA_EXPORT AudioDeviceName {
+ AudioDeviceName();
+ AudioDeviceName(const std::string& device_name,
+ const std::string& unique_id);
+
+ std::string device_name; // Friendly name of the device.
std::string unique_id; // Unique identifier for the device.
};