chore(auto): task completed - unknown

This commit is contained in:
MythEclipse
2026-06-13 11:46:15 +07:00
parent 30f8d7cce3
commit 1406ce3585
20 changed files with 19 additions and 79 deletions
@@ -1,10 +1,10 @@
// ─── Audio transmit hook — captures mic, encodes to PCM, sends via WebSocket ──
import { useCallback, useRef, useState } from "react";
import { getAPIURL } from "../api/client.js";
import { createChildLogger } from "../logger.js";
import { createLogger } from "../lib/logger";
const SAMPLE_RATE = 24000;
const logger = createChildLogger("useAudioTransmit");
const logger = createLogger("useAudioTransmit");
async function sendTransmitCommand(command: string): Promise<void> {
// Send via HTTP API (kept as exported function for backward compatibility)