Index: media/audio/audio_output_dispatcher.h |
=================================================================== |
--- media/audio/audio_output_dispatcher.h (revision 240452) |
+++ media/audio/audio_output_dispatcher.h (working copy) |
@@ -66,6 +66,13 @@ |
// 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_; } |