Index: media/audio/audio_output_ipc.h |
diff --git a/media/audio/audio_output_ipc.h b/media/audio/audio_output_ipc.h |
index 403081bf0dc1f84ea206d9fa64c242657d536bd2..b6fd58de348bae3020dca6e007cde0eda20b8b69 100644 |
--- a/media/audio/audio_output_ipc.h |
+++ b/media/audio/audio_output_ipc.h |
@@ -97,7 +97,10 @@ class MEDIA_EXPORT AudioOutputIPC { |
virtual void PauseStream() = 0; |
// Closes the audio stream which should shut down the corresponding |
- // AudioOutputController in the peer process. |
+ // AudioOutputController in the peer process. Usage of an AudioOutputIPC must |
+ // always end with a call to CloseStream(), and the |delegate| passed to other |
+ // method must remain valid until then. An exception is if OnIPCClosed is |
+ // called first. |
virtual void CloseStream() = 0; |
// Sets the volume of the audio stream. |