Windows-Sound-Manager icon indicating copy to clipboard operation
Windows-Sound-Manager copied to clipboard

loop issues

Open thezerocool opened this issue 6 years ago • 1 comments

there seems to be an issue when setting volume in a loop, the first .volume_set works but subsequent ones do not until the python program is killed and the module reloaded.

volume = 25
Sound.volume_set(volume)
print("set")
time.sleep(5)
# manually change volume while program sleeps to recreate

thezerocool avatar May 08 '18 15:05 thezerocool

it seems Sound.current_volume() doesnt return the actual volume, but what it recalls is the volume, system data isn't returned so an overridden manual volume cannot be corrected. HTH

thezerocool avatar May 08 '18 15:05 thezerocool