win-wasapi: Fix audio capture after unplugging device
This commit fixes a bug where the user would have to restart OBS when certain types of devices are unplugged and plugged back in again (particularly USB devices). A wait interval is required (RECONNECT_INTERVAL) because Windows does not send any events to IAudioCaptureClient on device invalidation.
Showing
想要评论请 注册 或 登录