Skip to content

Sound plays at 0 volume #166

@gregmax17

Description

@gregmax17

On random occasions when I play a sound the volume will be set at 0. I'm not setting the volume anywhere in my project.

The default value should be 1 right? So why is a sound playing muted? (I did check the muted property and that is set to false, but again, the volume is set to 0)

I forgot to mention, I did this little snippet of code:

var src = PIXI.sound.find("audio");
var sound = src.play();

setInterval(function() {
    sound.volume = 1;
}, 100);

And this would result hearing blips of the audio being played. It seems somewhere and somehow the audio is being reverted to a volume of 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions