Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: media/audio/audio_device_name.h

Issue 1892433002: Moving device description utils from AudioManager[Base] into AudioDeviceDescription; to be shared b… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/audio_device_description.cc ('k') | media/audio/audio_device_name.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_device_name.h
diff --git a/media/audio/audio_device_name.h b/media/audio/audio_device_name.h
index aa3cca0da8b5e41a171cca2e363f23f8c7e8f31a..534abea1dc4fa9621f0f97bcc5cf626290d131bf 100644
--- a/media/audio/audio_device_name.h
+++ b/media/audio/audio_device_name.h
@@ -16,6 +16,12 @@ struct MEDIA_EXPORT AudioDeviceName {
AudioDeviceName(const std::string& device_name,
const std::string& unique_id);
+ // Creates default device representation.
+ static AudioDeviceName CreateDefault();
+
+ // Creates communications device representation.
+ static AudioDeviceName CreateCommunications();
+
std::string device_name; // Friendly name of the device.
std::string unique_id; // Unique identifier for the device.
};
« no previous file with comments | « media/audio/audio_device_description.cc ('k') | media/audio/audio_device_name.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698