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

Unified Diff: media/audio/audio_io.h

Issue 2624403002: Refactor AudioInputController and related interfaces. (Closed)
Patch Set: Address comments Created 3 years, 11 months 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 | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/test_audio_input_controller_factory.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 e09b36eac2f88b61f8c530bcb4f296560cebd80f..6ab50aa952e88e5ca97c3d903d40da530d59e104 100644
--- a/media/audio/audio_io.h
+++ b/media/audio/audio_io.h
@@ -94,8 +94,10 @@ class MEDIA_EXPORT AudioOutputStream {
// The output stream does not take ownership of this callback.
virtual void Start(AudioSourceCallback* callback) = 0;
- // Stops playing audio. Effect might not be instantaneous as the hardware
- // might have locked audio data that is processing.
+ // Stops playing audio. The operation completes synchronously meaning that
+ // once Stop() has completed executing, no further callbacks will be made to
+ // the callback object that was supplied to Start() and it can be safely
+ // deleted.
virtual void Stop() = 0;
// Sets the relative volume, with range [0.0, 1.0] inclusive.
« no previous file with comments | « media/audio/audio_input_controller_unittest.cc ('k') | media/audio/test_audio_input_controller_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698