Skip to content

Commit

Permalink
(ffmpeg core) Fix audio buffer size (#16820)
Browse files Browse the repository at this point in the history
  • Loading branch information
viachaslavic authored Jul 27, 2024
1 parent 5510181 commit 33d9def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/libretro-ffmpeg/ffmpeg_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ void CORE_PREFIX(retro_run)(void)
static bool last_l;
static bool last_r;
double min_pts;
int16_t audio_buffer[2048];
int16_t audio_buffer[media.sample_rate / 20];
bool left, right, up, down, l, r;
int16_t ret = 0;
size_t to_read_frames = 0;
Expand Down

0 comments on commit 33d9def

Please sign in to comment.