Index: media/audio/audio_io.h |
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h |
index 0f3f67379fb8278ef1c54142ff8a43275e9067c0..0845c530a26b84045537d948f679a8df1071369b 100644 |
--- a/media/audio/audio_io.h |
+++ b/media/audio/audio_io.h |
@@ -107,6 +107,14 @@ class MEDIA_EXPORT AudioOutputStream { |
// Close the stream. This also generates AudioSourceCallback::OnClose(). |
// After calling this method, the object should not be used anymore. |
virtual void Close() = 0; |
+ |
+ // Sets the Automatic Gain Control (AGC) state. |
+ // Utilized in live-audio (unified) IO mode. |
+ virtual void SetAutomaticGainControl(bool enabled) {} |
tommi (sloooow) - chröme
2013/05/24 18:21:11
pure virtual?
henrika (OOO until Aug 14)
2013/05/27 12:17:43
Actually the idea was to add these in a follow-up
|
+ |
+ // Returns the Automatic Gain Control (AGC) state. |
+ // Utilized in live-audio (unified) IO mode. |
+ virtual bool GetAutomaticGainControl() { return false; } |
tommi (sloooow) - chröme
2013/05/24 18:21:11
same here
henrika (OOO until Aug 14)
2013/05/27 12:17:43
see above
|
}; |
// Models an audio sink receiving recorded audio from the audio driver. |