Play silence to keep audio device awake (#16099)
Fixes #14386
Summary of the issue:
Play silence in order to keep audio device open
Description of user facing changes
By default most users won't notice anything as default volume is 0 (playing silence).
I added two config options in the advanced panel: silence duration (default = 30 seconds) and white noise volume (default is set to 0). Playing white noise would be helpfulin order to debug any user issues related to audio dropout.
Description of development approach
Most of heavylifting has been done by @jcsteh.
In wasapi.cpp there has been added class SilencePlayer that spawns a new thread, that just plays silence/white noise when requested. Requests are coming from python code in nvwave.py from WasapiWavePlayer.feed() function.