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

Unified Diff: ash/system/audio/tray_audio_delegate.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: 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: ash/system/audio/tray_audio_delegate.h
diff --git a/ash/system/audio/tray_audio_delegate.h b/ash/system/audio/tray_audio_delegate.h
index 8a6260f702b9f1773225af870bd545a0cae47eac..41aa7902a5814e05bcb9544b5aa33281b22edab4 100644
--- a/ash/system/audio/tray_audio_delegate.h
+++ b/ash/system/audio/tray_audio_delegate.h
@@ -40,6 +40,11 @@ class ASH_EXPORT TrayAudioDelegate {
// Sets the volume level of the output device in the range 0%-100%
virtual void SetOutputVolumeLevel(int level) = 0;
+
+ // Swaps the left and right channel of the 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.
+ virtual void SwapLeftRight(bool swap) = 0;
oshima 2014/09/30 22:29:53 It'd be better to have something like: (assuming t
jennyz 2014/10/01 00:22:59 Done.
};
} // namespace system

Powered by Google App Engine
This is Rietveld 408576698