chore: 合并上游更新 — ttsVoices 映射及执黑先行配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
lc
2026-05-12 13:02:32 +08:00
parent 163a83ab6d
commit 2449fbabdf
4 changed files with 43 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ function getAudioDuration(filePath) {
return parseFloat(out.trim())
} catch {
const stat = fs.statSync(filePath)
return stat.size * 8 / 32000
return stat.size * 8 / 160000
}
}