Index: media/audio/win/audio_low_latency_output_win.cc |
diff --git a/media/audio/win/audio_low_latency_output_win.cc b/media/audio/win/audio_low_latency_output_win.cc |
index f7b31a3c00a09d75376a190fa9df926f9b32b6db..53b8a8dd242b0a13de3d1bfc9fa2def74b9ac210 100644 |
--- a/media/audio/win/audio_low_latency_output_win.cc |
+++ b/media/audio/win/audio_low_latency_output_win.cc |
@@ -135,6 +135,11 @@ bool WASAPIAudioOutputStream::Open() { |
DCHECK(!audio_client_.get()); |
DCHECK(!audio_render_client_.get()); |
+ // Don't allow WASAPI streams to be created for remote output devices, this |
+ // frequently leads to hangs of the audio thread. http://crbug.com/422522. |
+ if (CoreAudioUtil::IsRemoteOutputDevice(device_id_)) |
+ return false; |
+ |
// Will be set to true if we ended up opening the default communications |
// device. |
bool communications_device = false; |