Index: media/audio/audio_io.h |
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h |
index 173f4f54363b65903b86baab30ecb9f0b5a29f58..e98f6c4d363bb72b4be93887237e4afc01124aac 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; |
+ |
+ // Returns the maximum microphone analog volume. |
henrika (OOO until Aug 14)
2012/02/23 11:50:41
Perhaps add a comment about return value <=> error
no longer working on chromium
2012/02/24 09:27:48
Done.
|
+ virtual double GetMaxVolume() = 0; |
+ |
+ // Sets the microphone analog volume, with range [0, max_volume] inclusive. |
+ virtual void SetVolume(double volume) = 0; |
+ |
+ // Returns the microphone analog volume, with range [0, max_volume] inclusive. |
+ virtual double GetVolume() = 0; |
}; |
#endif // MEDIA_AUDIO_AUDIO_IO_H_ |