Open elderapo opened 7 years ago
Oh.. I just realized I made a mess by including pull request with windows support as well. Will try to fix it asap.
I did my best to clear the mess I made. If it's still not acceptable let me know and I will just open a new "clear" pull request.
This pull request fixes:
setVolume
previously wasn't working as intended for example:setVolume(15, cb)
was setting volume to16
instead of15
butsetVolume(50, cb)
was correctly setting volume to50
. Now it works for all the values0-100%
.Since only @RyanAfrish7 (Ubuntu 16.04 LTS) and I (Ubuntu 14.04 LTS) reported problems fixed in this pull request I assume these errors only appeared on various Ubuntu distributions.