From ae2556dc1d6d8e0764ac8812fdfeb75270d8f28f Mon Sep 17 00:00:00 2001 From: Tanner Date: Thu, 6 Aug 2026 14:04:25 -0600 Subject: [PATCH] Resample to 44100 Hz --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 04b5c79..971aae5 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ def playback_thread(file_path, state): container = av.open(file_path) stream = container.streams.audio[0] - resampler = av.AudioResampler(format='s16', layout='stereo', rate=48000) + resampler = av.AudioResampler(format='s16', layout='stereo', rate=44100) with open(fifo_path, 'wb') as fifo: iterator = container.decode(stream)