node-loudness
node-loudness copied to clipboard
Better linux support
This pull request fixes:
- [x] Muting/unmuting (#4).
- [x]
setVolumepreviously wasn't working as intended for example:setVolume(15, cb)was setting volume to16instead of15butsetVolume(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.
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.