Skip to content

Commit ec95c08

Browse files
Updated the value of soundLoop.interval
1 parent 006cfed commit ec95c08

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/soundLoop.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ define(function (require) {
6565

6666
this._interval = interval || 1;
6767

68+
// Set the limit of the desiredInterval to zero.
69+
70+
let desiredInterval = 0;
71+
72+
SoundLoop._interval = max(desiredInterval, 0.01);
73+
6874
/**
6975
* musicalTimeMode variables
7076
* modify these only when the interval is specified in musicalTime format as a string

0 commit comments

Comments
 (0)