first cut

This commit is contained in:
freddyaboulton
2024-10-25 16:24:17 -07:00
parent 203b02e455
commit a5dbaaf49b
7 changed files with 439 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ async def player_worker_decode(
# Convert to audio frame and resample
# This runs in the same timeout context
frame = av.AudioFrame.from_ndarray(
frame = av.AudioFrame.from_ndarray( # type: ignore
audio_array, format=format, layout=layout
)
frame.sample_rate = sample_rate