Index: chromeos/dbus/cras_audio_client.h |
diff --git a/chromeos/dbus/cras_audio_client.h b/chromeos/dbus/cras_audio_client.h |
index 84ff7c8bc7750fb3dca6c69e2652011f2e84ccf7..737d26663a2e00e7844237e6400e4ae76757f31a 100644 |
--- a/chromeos/dbus/cras_audio_client.h |
+++ b/chromeos/dbus/cras_audio_client.h |
@@ -115,6 +115,13 @@ class CHROMEOS_EXPORT CrasAudioClient : public DBusClient { |
// removing an active output node added by AddActiveOutputNode. |
virtual void RemoveActiveOutputNode(uint64 node_id) = 0; |
+ // Swaps the left and right channel of the primary active output device. |
+ // Swap the left and right channel if |swap| is true; otherwise, swap the left |
+ // and right channel back to the normal mode. |
+ // The dbus message will be dropped if this feature is not supported on the |
+ // |node_id|. |
+ virtual void SwapLeftRight(uint64 node_id, bool swap) = 0; |
+ |
// Creates the instance. |
static CrasAudioClient* Create(); |