Skip to content
This repository has been archived by the owner on Jan 13, 2019. It is now read-only.

loop issues #2

Open
thezerocool opened this issue May 8, 2018 · 1 comment
Open

loop issues #2

thezerocool opened this issue May 8, 2018 · 1 comment

Comments

@thezerocool
Copy link

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant