@I3ordo @ryantheleach @n3v3rm1nd Going back through my code I think I've sorted out all of your guys issues. I'll have a release soon for v24. I've added a menu with start / restart functionality in the event the audio engine does not kick in / you don't already have voicemeeter open. I've rewritten plugin so it won't disable itself if it fails the initial setup. Then if I understood @vburel correctly I've added an asynchronous function that performs a restart for that particular command.
Cross fingers this works for all of you.
As for the staticy audio, I can't say for certain the cause, I unfortunately have a device that randomly does that and it requires me adjusting the buffer size for the hardware device, that on my end fixes it. If not that, then usually restarting the audio engine in VM takes care of it. It's also possible that as mentioned the audio thread can't keep up. I do have a dedicated thread for each source though, if there's issues with that I'll have to redesign it later.
Cross fingers this works for all of you.
As for the staticy audio, I can't say for certain the cause, I unfortunately have a device that randomly does that and it requires me adjusting the buffer size for the hardware device, that on my end fixes it. If not that, then usually restarting the audio engine in VM takes care of it. It's also possible that as mentioned the audio thread can't keep up. I do have a dedicated thread for each source though, if there's issues with that I'll have to redesign it later.