diff options
| author | soryu <soryu@soryu.co> | 2026-01-29 02:23:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-29 02:23:56 +0000 |
| commit | c3fc0fb4b7a91308f62bd23d6a71d4a5fccfd32e (patch) | |
| tree | 274faa2561f99bda2fd8137e2d3f4ac9ae980a7f /makima/frontend/src/hooks | |
| parent | 7fa15385e4d47d4b304d55a1e31e13ede121d0d6 (diff) | |
| parent | 45a433c0eb63cae1322203ee14292f1c427a09c9 (diff) | |
| download | soryu-c3fc0fb4b7a91308f62bd23d6a71d4a5fccfd32e.tar.gz soryu-c3fc0fb4b7a91308f62bd23d6a71d4a5fccfd32e.zip | |
Merge branch 'master' into makima/fix-hf-cli-commandmakima/fix-hf-cli-command
Diffstat (limited to 'makima/frontend/src/hooks')
| -rw-r--r-- | makima/frontend/src/hooks/useSpeakWebSocket.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makima/frontend/src/hooks/useSpeakWebSocket.ts b/makima/frontend/src/hooks/useSpeakWebSocket.ts index 3ef8851..d9fb826 100644 --- a/makima/frontend/src/hooks/useSpeakWebSocket.ts +++ b/makima/frontend/src/hooks/useSpeakWebSocket.ts @@ -22,7 +22,7 @@ export function useSpeakWebSocket() { const wsRef = useRef<WebSocket | null>(null); const audioContextRef = useRef<AudioContext | null>(null); - const audioQueueRef = useRef<Float32Array[]>([]); + const audioQueueRef = useRef<Float32Array<ArrayBuffer>[]>([]); const isPlayingRef = useRef(false); const modelLoadingTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null); const nextPlayTimeRef = useRef(0); |
