diff options
author | xians@chromium.org <xians@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 17:15:39 +0000 |
---|---|---|
committer | xians@chromium.org <xians@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 17:15:39 +0000 |
commit | 419b058386d043e5eb974874540da567223c2ccb (patch) | |
tree | 9806a242dc47e46292534afec9249da8fff8b967 /media/audio/audio_device_name.h | |
parent | af3c97ea54b20e1be1f95e5d79f7c41f11083c6d (diff) | |
download | chromium_src-419b058386d043e5eb974874540da567223c2ccb.zip chromium_src-419b058386d043e5eb974874540da567223c2ccb.tar.gz chromium_src-419b058386d043e5eb974874540da567223c2ccb.tar.bz2 |
The first step to add device selection to linux.
This patch will loop through the soundcard and return a list of available devices when the AudioInputDeviceManager does the device enumeration.
Previously, only default device will be returned.
Review URL: http://codereview.chromium.org/8162015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/audio_device_name.h')
-rw-r--r-- | media/audio/audio_device_name.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/audio/audio_device_name.h b/media/audio/audio_device_name.h index ef3cd77..87c9281 100644 --- a/media/audio/audio_device_name.h +++ b/media/audio/audio_device_name.h @@ -11,7 +11,10 @@ namespace media { struct AudioDeviceName { - std::string device_name; // Name and also display name of the device. + AudioDeviceName(); + AudioDeviceName(std::string device_name, std::string unique_id); + + std::string device_name; // Friendly name of the device. std::string unique_id; // Unique identifier for the device. }; |