Index: media/audio/audio_io.h |
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h |
index 173f4f54363b65903b86baab30ecb9f0b5a29f58..c059e9b91fbfcd2d8377a6cfa6cb6d91dd91e69d 100644 |
--- a/media/audio/audio_io.h |
+++ b/media/audio/audio_io.h |
@@ -154,6 +154,15 @@ class MEDIA_EXPORT AudioInputStream { |
// Close the stream. This also generates AudioInputCallback::OnClose(). This |
// should be the last call made on this object. |
virtual void Close() = 0; |
+ |
+ // Sets the microphone analog volume, with range [0.0, max_volume] inclusive. |
+ virtual void SetMicVolume(double volume) = 0; |
+ |
+ // Gets the microphone analog volume, with range [0.0, max_volume] inclusive. |
+ virtual void GetMicVolume(double* volume) = 0; |
+ |
+ // Gets the maximum microphone analog volume. |
+ virtual void GetMaxMicVolume(double* max_volume) = 0; |
henrika (OOO until Aug 14)
2012/02/21 14:03:47
What about moving this API up to make it more clea
no longer working on chromium
2012/02/21 18:01:38
Done.
|
}; |
#endif // MEDIA_AUDIO_AUDIO_IO_H_ |