fix funasr

This commit is contained in:
2025-05-19 01:01:38 +08:00
parent 8e04962cc1
commit a1df51f56b
7 changed files with 176 additions and 129 deletions

View File

@@ -1,9 +1,9 @@
import assert from 'assert';
import { logDebug, logInfo } from '../logger/index.ts';
import { logger } from '../logger/index.ts';
import { ChildProcessWithoutNullStreams, spawn } from 'child_process';
import recorders from '../recorder/recorders/index.ts';
import Stream from 'stream';
const logDebug = logger.debug;
export type RecordingOptions = {
/* 采样率默认为16000 */
sampleRate?: number;