Skip to content

Commit c5ea3fc

Browse files
committed
Deploying to gh-pages from @ f511c90 🚀
1 parent ae433d6 commit c5ea3fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/lib/audio_renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class AudioRenderer {
176176
debugLog(`bufferAudioData() ts:${data.timestamp} durationSec:${data.duration / 1000000}`);
177177
// Write to temporary planar arrays, and interleave into the ring buffer.
178178
for (var i = 0; i < this.channelCount; i++) {
179-
data.copyTo(this.interleavingBuffers[i], { planeIndex: i });
179+
data.copyTo(this.interleavingBuffers[i], { planeIndex: i, format: "f32-planar" });
180180
}
181181
// Write the data to the ring buffer. Because it wraps around, there is
182182
// potentially two copyTo to do.

0 commit comments

Comments
 (0)