Skip to content

Commit 1150f5f

Browse files
Updated the value of soundLoop.interval
1 parent 2fcb614 commit 1150f5f

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
@@ -70,6 +70,12 @@ define(function (require) {
7070

7171
this._interval = interval || 1;
7272

73+
// Set the limit of the desiredInterval to zero.
74+
75+
let desiredInterval = 0;
76+
77+
SoundLoop._interval = max(desiredInterval, 0.01);
78+
7379
/**
7480
* musicalTimeMode variables
7581
* modify these only when the interval is specified in musicalTime format as a string

0 commit comments

Comments
 (0)