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

Unified Diff: chromeos/dbus/cras_audio_client.h

Issue 478493002: Add ability to active multiple devices via the audio API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « chromeos/dbus/OWNERS ('k') | chromeos/dbus/cras_audio_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/cras_audio_client.h
diff --git a/chromeos/dbus/cras_audio_client.h b/chromeos/dbus/cras_audio_client.h
index c3d670897675d9e1a65bba93f18e6936064414c3..230b868ce94201bd68a12ceb9cc3adf841c1c99a 100644
--- a/chromeos/dbus/cras_audio_client.h
+++ b/chromeos/dbus/cras_audio_client.h
@@ -105,6 +105,16 @@ class CHROMEOS_EXPORT CrasAudioClient : public DBusClient {
// removing an active input node added by AddActiveInputNode.
virtual void RemoveActiveInputNode(uint64 node_id) = 0;
+ // Adds input node |node_id| to the active outputs list. This is used to add
+ // an additional active output node besides the one set by SetActiveInputNode.
+ // Note that this action will not trigger an ActiveOutputNodeChanged event
+ // and nothing will happen if the |node_id| has already been set as active.
+ virtual void AddActiveOutputNode(uint64 node_id) = 0;
+
+ // Removes output node |node_id| from the active output list. This is used for
+ // removing an active output node added by AddActiveOutputNode.
+ virtual void RemoveActiveOutputNode(uint64 node_id) = 0;
+
// Creates the instance.
static CrasAudioClient* Create();
« no previous file with comments | « chromeos/dbus/OWNERS ('k') | chromeos/dbus/cras_audio_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698