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

Unified Diff: media/audio/audio_manager.h

Issue 2273653002: Add groupid for media devices. Group audio devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Various small fixes. Created 4 years, 4 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 | « content/renderer/media/user_media_client_impl.cc ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 4c4cc8f59b4c77f66c8083ba30ceb6a2ec5e90b7..8cb1770fed9d34239d6d0d897d2c208339a81098 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -241,6 +241,12 @@ class MEDIA_EXPORT AudioManager {
virtual std::string GetAssociatedOutputDeviceID(
const std::string& input_device_id) = 0;
+ // These functions assign group ids to devices based on their device ids.
+ // The default implementation is an attempt to do this based on
+ // GetAssociatedOutputDeviceID.
+ virtual std::string GetGroupIDOutput(const std::string& output_device_id) = 0;
+ virtual std::string GetGroupIDInput(const std::string& input_device_id) = 0;
+
// Create a new AudioLog object for tracking the behavior for one or more
// instances of the given component. See AudioLogFactory for more details.
virtual std::unique_ptr<AudioLog> CreateAudioLog(
« no previous file with comments | « content/renderer/media/user_media_client_impl.cc ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698