Index: chromeos/audio/cras_audio_handler.h |
diff --git a/chromeos/audio/cras_audio_handler.h b/chromeos/audio/cras_audio_handler.h |
index 9f6520e5f42133ec40d0a3e102532d8fa3d78d2a..83aeaff0745ffe6be44d3c421b54e680eb2e6a7c 100644 |
--- a/chromeos/audio/cras_audio_handler.h |
+++ b/chromeos/audio/cras_audio_handler.h |
@@ -184,6 +184,13 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer, |
// Removes all active audio nodes, including the primary active ones. |
virtual void RemoveAllActiveNodes(); |
+ // 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. |
+ // If the feature is not supported on the primary active output node, nothing |
+ // happens. |
+ virtual void SwapLeftRight(bool swap); |
+ |
// Enables error logging. |
virtual void LogErrors(); |