mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 21:14:31 +00:00
fix: keep audio transcript echo off-by-default and tiny-audio-safe (#32150)
This commit is contained in:
@@ -68,7 +68,7 @@ let suiteTempMediaRootDir = "";
|
||||
async function createTempAudioFile(): Promise<string> {
|
||||
const dir = await fs.mkdtemp(path.join(suiteTempMediaRootDir, "case-"));
|
||||
const filePath = path.join(dir, "note.ogg");
|
||||
await fs.writeFile(filePath, Buffer.from([0, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8]));
|
||||
await fs.writeFile(filePath, Buffer.alloc(2048, 0xab));
|
||||
return filePath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user