mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-19 12:04:18 +02:00
rolling recording buffer
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import test from 'node:test'
|
||||
import assert from 'node:assert/strict'
|
||||
import { AudioRouter } from '../src/renderer/audio/AudioRouter'
|
||||
import './rolling-audio-buffer.test'
|
||||
|
||||
function createChunk(value: number, length = 4): Float32Array {
|
||||
return new Float32Array(Array.from({ length }, () => value))
|
||||
|
||||
Reference in New Issue
Block a user