(ffmpeg core) Fix audio buffer size (#16820)

This commit is contained in:
Viačasłaŭ 2024-07-27 08:14:27 +00:00 committed by GitHub
parent 5510181e91
commit 33d9def3b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;