diff --git a/audio-worklet/basic/audio-worklet-node-options/index.html b/audio-worklet/basic/audio-worklet-node-options/index.html
index 26c19dae7..d5434e1b5 100644
--- a/audio-worklet/basic/audio-worklet-node-options/index.html
+++ b/audio-worklet/basic/audio-worklet-node-options/index.html
@@ -134,7 +134,7 @@
Using Options for AudioWorkletNode
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/bit-crusher/index.html b/audio-worklet/basic/bit-crusher/index.html
index 42aa6fd73..2a9cdcfb6 100644
--- a/audio-worklet/basic/bit-crusher/index.html
+++ b/audio-worklet/basic/bit-crusher/index.html
@@ -118,7 +118,7 @@ BitCrusher with AudioParam
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/handling-errors/index.html b/audio-worklet/basic/handling-errors/index.html
index c008404d5..35f9ecbd9 100644
--- a/audio-worklet/basic/handling-errors/index.html
+++ b/audio-worklet/basic/handling-errors/index.html
@@ -118,7 +118,7 @@ Handling Errors
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/hello-audio-worklet/index.html b/audio-worklet/basic/hello-audio-worklet/index.html
index 085e17364..2940dade4 100644
--- a/audio-worklet/basic/hello-audio-worklet/index.html
+++ b/audio-worklet/basic/hello-audio-worklet/index.html
@@ -117,7 +117,7 @@ Hello Audio Worklet!
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/message-port/index.html b/audio-worklet/basic/message-port/index.html
index 898ab5165..9519cf8d1 100644
--- a/audio-worklet/basic/message-port/index.html
+++ b/audio-worklet/basic/message-port/index.html
@@ -117,7 +117,7 @@ MessagePort
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/noise-generator/index.html b/audio-worklet/basic/noise-generator/index.html
index 78094e6ba..9db95e097 100644
--- a/audio-worklet/basic/noise-generator/index.html
+++ b/audio-worklet/basic/noise-generator/index.html
@@ -118,7 +118,7 @@ Noise generator with modulation
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/one-pole-filter/index.html b/audio-worklet/basic/one-pole-filter/index.html
index 855231b20..e7ff26a6f 100644
--- a/audio-worklet/basic/one-pole-filter/index.html
+++ b/audio-worklet/basic/one-pole-filter/index.html
@@ -118,7 +118,7 @@ One Pole Filter
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/basic/volume-meter/index.html b/audio-worklet/basic/volume-meter/index.html
index 586384be6..06a28be41 100644
--- a/audio-worklet/basic/volume-meter/index.html
+++ b/audio-worklet/basic/volume-meter/index.html
@@ -120,7 +120,7 @@ Volume Meter
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/design-pattern/lib/wasm-audio-helper.js b/audio-worklet/design-pattern/lib/wasm-audio-helper.js
index 7b2826225..1ea76b5fd 100644
--- a/audio-worklet/design-pattern/lib/wasm-audio-helper.js
+++ b/audio-worklet/design-pattern/lib/wasm-audio-helper.js
@@ -222,10 +222,7 @@ class RingBuffer {
}
}
- this._writeIndex += sourceLength;
- if (this._writeIndex >= this._length) {
- this._writeIndex = 0;
- }
+ this._writeIndex = (this._writeIndex + sourceLength) % this._length;
// For excessive frames, the buffer will be overwritten.
this._framesAvailable += sourceLength;
@@ -258,10 +255,7 @@ class RingBuffer {
}
}
- this._readIndex += destinationLength;
- if (this._readIndex >= this._length) {
- this._readIndex = 0;
- }
+ this._readIndex = (this._readIndex + destinationLength) % this._length;
this._framesAvailable -= destinationLength;
if (this._framesAvailable < 0) {
diff --git a/audio-worklet/design-pattern/shared-buffer/index.html b/audio-worklet/design-pattern/shared-buffer/index.html
index cc24f60a0..b6a6d83dd 100644
--- a/audio-worklet/design-pattern/shared-buffer/index.html
+++ b/audio-worklet/design-pattern/shared-buffer/index.html
@@ -122,7 +122,7 @@ AudioWorklet, SharedArrayBuffer, and Worker
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/design-pattern/wasm-ring-buffer/index.html b/audio-worklet/design-pattern/wasm-ring-buffer/index.html
index 92c628a95..3d2f3c3c0 100644
--- a/audio-worklet/design-pattern/wasm-ring-buffer/index.html
+++ b/audio-worklet/design-pattern/wasm-ring-buffer/index.html
@@ -119,7 +119,7 @@ Ring Buffer in AudioWorkletProcessor
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/design-pattern/wasm-supersaw/index.html b/audio-worklet/design-pattern/wasm-supersaw/index.html
index 0756f8440..45e1a2ebd 100644
--- a/audio-worklet/design-pattern/wasm-supersaw/index.html
+++ b/audio-worklet/design-pattern/wasm-supersaw/index.html
@@ -130,7 +130,7 @@ WebAssembly Supersaw
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/design-pattern/wasm/index.html b/audio-worklet/design-pattern/wasm/index.html
index 9a41433ab..ecc1396fc 100644
--- a/audio-worklet/design-pattern/wasm/index.html
+++ b/audio-worklet/design-pattern/wasm/index.html
@@ -119,7 +119,7 @@ Audio Worklet and WebAssembly
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/free-queue/examples/simple-passthrough/index.html b/audio-worklet/free-queue/examples/simple-passthrough/index.html
index 6b8ccc167..2d7fe8e8c 100644
--- a/audio-worklet/free-queue/examples/simple-passthrough/index.html
+++ b/audio-worklet/free-queue/examples/simple-passthrough/index.html
@@ -122,7 +122,7 @@ Simple Passthrough Example
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/index.html b/audio-worklet/index.html
index 619dbd85d..55e8c00f4 100644
--- a/audio-worklet/index.html
+++ b/audio-worklet/index.html
@@ -270,7 +270,7 @@
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/migration/spn-recorder/index.html b/audio-worklet/migration/spn-recorder/index.html
index 3ddfee38a..173945619 100644
--- a/audio-worklet/migration/spn-recorder/index.html
+++ b/audio-worklet/migration/spn-recorder/index.html
@@ -158,7 +158,7 @@ ScriptProcessorNode Audio Recorder
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/audio-worklet/migration/worklet-recorder/index.html b/audio-worklet/migration/worklet-recorder/index.html
index 3296c5a17..6929d0c0b 100644
--- a/audio-worklet/migration/worklet-recorder/index.html
+++ b/audio-worklet/migration/worklet-recorder/index.html
@@ -158,7 +158,7 @@ AudioWorklet Recorder
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/demos/mld-drum-sampler/index.html b/demos/mld-drum-sampler/index.html
index 7ba052924..884286c34 100644
--- a/demos/mld-drum-sampler/index.html
+++ b/demos/mld-drum-sampler/index.html
@@ -116,7 +116,7 @@ Web Audio API 드럼머신 만들기
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/experiments/index.html b/experiments/index.html
index ef370f620..c4ee62a04 100644
--- a/experiments/index.html
+++ b/experiments/index.html
@@ -113,7 +113,7 @@
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/experiments/webgpuaudio/index.html b/experiments/webgpuaudio/index.html
index c6c4279ac..5743d7e78 100644
--- a/experiments/webgpuaudio/index.html
+++ b/experiments/webgpuaudio/index.html
@@ -115,7 +115,7 @@ WebGPUAudio Experiment
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/index.html b/index.html
index 5645da4dd..eedbc42d8 100644
--- a/index.html
+++ b/index.html
@@ -258,7 +258,7 @@
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/tests/index.html b/tests/index.html
index dc15e1481..657f747b4 100644
--- a/tests/index.html
+++ b/tests/index.html
@@ -120,7 +120,7 @@
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/tests/pannernode/index.html b/tests/pannernode/index.html
index eae16557a..b11819060 100644
--- a/tests/pannernode/index.html
+++ b/tests/pannernode/index.html
@@ -131,7 +131,7 @@ Glitches in PannerNode
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)
diff --git a/tests/setsinkid/index.html b/tests/setsinkid/index.html
index d711483d9..27d5f40ff 100644
--- a/tests/setsinkid/index.html
+++ b/tests/setsinkid/index.html
@@ -122,7 +122,7 @@ AudioContext.setSinkId(): Manual Test
2010-2023 Chromium authors
- (6abfde7)
+ (6b3e732)