CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.44k stars 835 forks source link

Sound.muted and Sound.volume doesn't work #268

Closed tgrajewski closed 7 years ago

tgrajewski commented 7 years ago

The below example plays sound, although it shouldn't:

createjs.Sound.muted = true;
createjs.Sound.volume = 0;
createjs.Sound.play('myId');

Using v0.6.2, MP3 and Chrome.

lannymcnie commented 7 years ago

Looks like this only affects HTML Audio. I have made a fix, and will push it shortly.

lannymcnie commented 7 years ago

Fixed, and pushed!

Gaikov commented 6 years ago

I have the same problem. Can you show a commit? I want to merge in my version of soundjs