Index: media/audio/audio_output_dispatcher.h |
diff --git a/media/audio/audio_output_dispatcher.h b/media/audio/audio_output_dispatcher.h |
index 52de79410f57c0dac716129f2a9da516a834d15c..ba9267b11a6460f1d66922b3caaf57266b83587e 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_; } |