some changes

This commit is contained in:
2026-03-20 17:27:41 +01:00
parent b08a57a5e8
commit 2aeb81697a
9 changed files with 175 additions and 46 deletions
+5 -5
View File
@@ -41,14 +41,14 @@ checkFFmpeg().then((ffmpegPath) => {
else inputArgs = ["-f", "alsa", "-i", device];
return [
"-fflags", "+flush_packets",
"-fflags", "+nobuffer",
"-flags", "low_delay",
"-rtbufsize", "4096",
"-probesize", "128",
"-rtbufsize", "6144",
"-probesize", "256",
...inputArgs,
"-thread_queue_size", "1536",
"-thread_queue_size", "2048",
"-ar", String(sampleRate),
"-ac", String(channels),
@@ -62,7 +62,7 @@ checkFFmpeg().then((ffmpegPath) => {
"-id3v2_version", "0",
"-fflags", "+nobuffer",
"-flush_packets", "1",
// "-flush_packets", "1",
"pipe:1"
];