refactor: 通过@实现定位

This commit is contained in:
手瓜一十雪
2024-11-21 11:39:44 +08:00
parent 8edbe54456
commit a5d4998933
14 changed files with 41 additions and 48 deletions

View File

@@ -4,7 +4,7 @@ import path from 'node:path';
import { randomUUID } from 'crypto';
import { spawn } from 'node:child_process';
import { EncodeResult, getDuration, getWavFileInfo, isSilk, isWav } from 'silk-wasm';
import { LogWrapper } from './log';
import { LogWrapper } from '@/common/log';
import { EncodeArgs } from "@/common/audio-worker";
const ALLOW_SAMPLE_RATE = [8000, 12000, 16000, 24000, 32000, 44100, 48000];