Skip to content

Commit e86e09a

Browse files
In an edge case if a marker has duration set to 0 (weird :P) we don't want to update sound duration
1 parent 920e083 commit e86e09a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ var HTML5AudioSoundManager = new Class({
227227
{
228228
this.forEachActiveSound(function (sound)
229229
{
230-
if(sound.duration === 0)
230+
if(sound.currentMarker === null && sound.duration === 0)
231231
{
232232
sound.duration = sound.tags[0].duration;
233233
}

0 commit comments

Comments
 (0)