Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1131)

Unified Diff: media/audio/audio_io.h

Issue 11098031: Get PulseAudio implementation working. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/audio/pulse/pulse_output.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_io.h
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h
index bdc9f6fa6b71d25ba03895ee7958f0fef8028747..cfc71bdb4681dedecad48f483c83a52973d892b6 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().
« no previous file with comments | « no previous file | media/audio/pulse/pulse_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698