summaryrefslogtreecommitdiff
path: root/chromium/media/audio/audio_output_dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/audio/audio_output_dispatcher.h')
-rw-r--r--chromium/media/audio/audio_output_dispatcher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/media/audio/audio_output_dispatcher.h b/chromium/media/audio/audio_output_dispatcher.h
index 22bcd7c8fd5..aa79817b8a9 100644
--- a/chromium/media/audio/audio_output_dispatcher.h
+++ b/chromium/media/audio/audio_output_dispatcher.h
@@ -58,6 +58,10 @@ class MEDIA_EXPORT AudioOutputDispatcher {
// Called by AudioOutputProxy when the stream is closed.
virtual void CloseStream(AudioOutputProxy* stream_proxy) = 0;
+ // Called by AudioOutputProxy to flush the stream. This should only be
+ // called when a stream is stopped.
+ virtual void FlushStream(AudioOutputProxy* stream_proxy) = 0;
+
protected:
AudioManager* audio_manager() const { return audio_manager_; }