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

Unified Diff: media/audio/audio_manager.h

Issue 1339183002: Add localized default audio device names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix descriptions. Created 5 years, 3 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
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 37399739f9323385b4e7653644afa7c0a180be14..768364a7437388caf1b7bd90b18dc36e814acdc2 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -114,6 +114,13 @@ class MEDIA_EXPORT AudioManager {
// Audio worker thread (see GetWorkerTaskRunner()).
virtual void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) = 0;
+ // Returns the localized name of the generic "default" device.
+ virtual std::string GetDefaultDeviceName() const = 0;
+
+ // Returns the localized name of the generic default communications device.
+ // This device is not supported on all platforms.
+ virtual std::string GetCommunicationsDeviceName() const = 0;
+
// Factory for all the supported stream formats. |params| defines parameters
// of the audio stream to be created.
//

Powered by Google App Engine
This is Rietveld 408576698