Index: media/audio/audio_output_dispatcher.h |
diff --git a/media/audio/audio_output_dispatcher.h b/media/audio/audio_output_dispatcher.h |
index 5004fa06afd962da215713d95527a9b23da0a93f..ac696348c4880a431fa8a42da29d073043dd9c32 100644 |
--- a/media/audio/audio_output_dispatcher.h |
+++ b/media/audio/audio_output_dispatcher.h |
@@ -66,6 +66,13 @@ class MEDIA_EXPORT AudioOutputDispatcher |
// Called on the audio thread when the AudioManager is shutting down. |
virtual void Shutdown() = 0; |
+ // Called by the AudioManager to restart streams when a wedge is detected. A |
+ // wedge means the OS failed to request any audio after StartStream(). When a |
+ // wedge is detected all streams across all dispatchers must be closed. After |
+ // all streams are closed, streams are restarted. See http://crbug.com/160920 |
+ virtual void CloseStreamsForWedgeFix() = 0; |
+ virtual void RestartStreamsForWedgeFix() = 0; |
+ |
// Accessor to the input device id used by unified IO. |
const std::string& input_device_id() const { return input_device_id_; } |