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

Unified Diff: chromeos/dbus/cras_audio_client.h

Issue 620673002: Flip the left/right speaker when the device is in yoga mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Observe DisplayObserver::OnDisplayMetricsChanged for rotation change. Created 6 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: chromeos/dbus/cras_audio_client.h
diff --git a/chromeos/dbus/cras_audio_client.h b/chromeos/dbus/cras_audio_client.h
index 84ff7c8bc7750fb3dca6c69e2652011f2e84ccf7..560042ce7d41b435523725cb7f0b7f508ea31f1c 100644
--- a/chromeos/dbus/cras_audio_client.h
+++ b/chromeos/dbus/cras_audio_client.h
@@ -115,6 +115,11 @@ 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 the primary active output device.
cychiang 2014/10/01 02:36:29 extra the
jennyz 2014/10/01 17:43:54 Done.
+ // Swap the left and right channel if |swap| is true; otherwise, swap the left
cychiang 2014/10/01 02:36:29 dbus message will be dropped if this feature is no
jennyz 2014/10/01 17:43:54 Done.
+ // and right channel back to the normal mode.
+ virtual void SwapLeftRight(uint64 node_id, bool swap) = 0;
+
// Creates the instance.
static CrasAudioClient* Create();

Powered by Google App Engine
This is Rietveld 408576698