Resample to 44100 Hz

This commit is contained in:
Tanner
2026-08-06 14:04:25 -06:00
parent 8ddbee713a
commit ae2556dc1d
+1 -1
View File
@@ -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)