Index: chromeos/audio/cras_audio_handler.h |
diff --git a/chromeos/audio/cras_audio_handler.h b/chromeos/audio/cras_audio_handler.h |
index 4d98b60b192c544936ad08fa300c0c10f8576e6e..57bf47de4fe13cc6def9e3815183e469b9e084cf 100644 |
--- a/chromeos/audio/cras_audio_handler.h |
+++ b/chromeos/audio/cras_audio_handler.h |
@@ -66,6 +66,9 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer, |
// Called when active audio input node changed. |
virtual void OnActiveInputNodeChanged(); |
+ // Called when output channel remixing changed. |
+ virtual void OnOuputChannelRemixingChanged(bool mono_on); |
+ |
protected: |
AudioObserver(); |
virtual ~AudioObserver(); |
@@ -206,6 +209,12 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer, |
// If the feature is not supported on the device, nothing happens. |
virtual void SwapInternalSpeakerLeftRightChannel(bool swap); |
+ // Accessibility audio setting: sets the output mono or not. |
+ virtual void SetOutputMono(bool mono_on); |
+ |
+ // Returns true if output mono is enabled. |
+ virtual bool IsOutputMonoEnabled() const; |
+ |
// Enables error logging. |
virtual void LogErrors(); |
@@ -408,6 +417,10 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer, |
bool output_mute_locked_; |
+ // Audio output channel counts. |
+ int32_t output_channels_; |
+ bool output_mono_on_; |
+ |
// Failures are not logged at startup, since CRAS may not be running yet. |
bool log_errors_; |