Skip to content

Commit d1be71c

Browse files
committed
lint
1 parent 782b785 commit d1be71c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react/src/worklets/audio-worklet.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ class BufferQueue {
66

77
// For fading out
88
this._fadeOutDurationMs = 100;
9+
// sampleRate is part of AudioWorkletGlobalScope
10+
// eslint-disable-next-line no-undef
911
this._sampleRate = sampleRate;
1012
this._fadeOutSamplesCount = Math.floor(
1113
(this._fadeOutDurationMs * this._sampleRate) / 1000,

0 commit comments

Comments
 (0)