Open atesija opened 1 year ago
How about destroying/recreating related objects after device reconnection?
I tried recreating both the Spectrum Analyzer and an Audio Level Tracker but they seem frozen, like no audio is recognized. I made sure they used the same Device ID, channel, and other settings. I also tried resetting the scene by loading it fresh and that didn't work either. It feels like the audio stream that is read from breaks and can't be repaired.
(This isn't a big issue, I can always try to make sure the interface stays plugged in or try a different one if it's only happening with mine)
I had a show where I accidentally unplugged my audio interface and the only way to get audio again was by restarting my program. Is there a way to reset the audio input programmatically?
Reproduction steps: 1: Run a program using Lasp 2: Unplug your audio interface (I use a Focusrite Scarlet 2i2) 3: Plug it back in (expecting it all to keep working but instead it won't pick up audio again unless I restart the program)
The error I see when doing this in editor: