Well the more elegant way would be for M$ to actually fix the bug; I'm curious if it'll show up on Windows 10.Godmode_Off wrote:Hi Dave!
Sorry for hanging on to this, but I'm getting the same bug. Since it seems not solveable on a plugin level, can we talk about workarounds for skins?
One thing that works for me is constantly looping silence in the background when loading any skin that uses your plugin, like:
Is there anything that speaks against it? Or is there maybe a more elegant way to implement this/get the same effect?
Code: Select all
[Rainmeter] Update=1000 OnRefreshAction=PlayLoop "silence.wav" ...
The plugin already creates a dummy playback stream before opening the loopback interface to try to work around the issue, but I guess it's not working in your case. My thinking is it's something about the WaveOut vs. DirectSound output methods, but again, it's all inside the OS black-box from where the plugin sees it. I guess the other thing I could try is keeping the dummy playback stream alive while the plugin is active, which might be basically the same thing as your method, just without skin hacks. I just haven't dived into that code in a while. If I have some time this weekend I'll take a stab at it and see if it makes any difference.