diff options
Diffstat (limited to 'media/audio/audio_io.h')
-rw-r--r-- | media/audio/audio_io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h index bdc9f6f..cfc71bd 100644 --- a/media/audio/audio_io.h +++ b/media/audio/audio_io.h @@ -90,7 +90,8 @@ class MEDIA_EXPORT AudioOutputStream { virtual ~AudioOutputStream() {} - // Open the stream. false is returned if the stream cannot be opened. + // Open the stream. false is returned if the stream cannot be opened. Open() + // must always be followed by a call to Close() even if Open() fails. virtual bool Open() = 0; // Starts playing audio and generating AudioSourceCallback::OnMoreData(). |