Index: media/audio/audio_manager.h |
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h |
index cba88a967aa2390874bc239af3efd646327deb75..2db9ad9174a426ccb1c775e5baddeb2ceed03acd 100644 |
--- a/media/audio/audio_manager.h |
+++ b/media/audio/audio_manager.h |
@@ -54,6 +54,13 @@ class AudioManager { |
// Do not free the returned AudioOutputStream. It is owned by AudioManager. |
virtual AudioOutputStream* MakeAudioOutputStream(AudioParameters params) = 0; |
+ // Creates new audio output proxy. A proxy implements |
+ // AudioOutputStream inteface, but unlike regular output stream |
scherkus (not reviewing)
2010/11/24 02:01:59
nit: inteface -> interface
Sergey Ulanov
2010/11/24 03:49:54
Done.
|
+ // created with MakeAudioOutputStream() it opens device only when a |
+ // sound is actually playing. |
+ virtual AudioOutputStream* MakeAudioOutputStreamProxy( |
+ const AudioParameters& params) = 0; |
+ |
// Factory to create audio recording streams. |
// |channels| can be 1 or 2. |
// |sample_rate| is in hertz and can be any value supported by the platform. |