Index: media/audio/win/audio_low_latency_input_win.cc |
=================================================================== |
--- media/audio/win/audio_low_latency_input_win.cc (revision 107332) |
+++ media/audio/win/audio_low_latency_input_win.cc (working copy) |
@@ -207,7 +207,10 @@ |
device_role, |
endpoint_device.Receive()); |
if (FAILED(hr)) { |
- NOTREACHED() << "error code: " << hr; |
+ // This will happen if there's no audio capture device found or available |
+ // (e.g. some audio cards that have inputs will still report them as |
+ // "not found" when no mic is plugged into the input jack). |
+ LOG(WARNING) << "No audio end point: " << std::hex << hr; |
return 0.0; |
} |