exeldro / obs-audio-monitor

audio monitor filter for OBS Studio
GNU General Public License v2.0
278 stars 27 forks source link

Slider still shows even if device is not available anymore #41

Open Trouffman opened 2 years ago

Trouffman commented 2 years ago

Behavior (bug)

A slider for audio ouput / monitoring is next to a "track" even when that previously set device is not available anymore.

image

How to reproduce

Launch OBS wtht he plugin. Enable a/multiple monitoring device to a track. Close OBS Disconnect (or disable that device in windows) Re-launch OBS In the plugin widget there is a slider for a "non-existing" device.

as tested on OBS 27.1.3 and plugin version 0.7.1

From the log file 15:32:30.418: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{d9ba5ac3-7bcd-40b1-8dd3-88bf22e41d64}' not found. Waiting for device Which, I suspect, is the device it tries to assign.

Workaround