mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(ffmpeg core) Fix audio buffer size (#16820)
This commit is contained in:
parent
5510181e91
commit
33d9def3b3
@ -615,7 +615,7 @@ void CORE_PREFIX(retro_run)(void)
|
|||||||
static bool last_l;
|
static bool last_l;
|
||||||
static bool last_r;
|
static bool last_r;
|
||||||
double min_pts;
|
double min_pts;
|
||||||
int16_t audio_buffer[2048];
|
int16_t audio_buffer[media.sample_rate / 20];
|
||||||
bool left, right, up, down, l, r;
|
bool left, right, up, down, l, r;
|
||||||
int16_t ret = 0;
|
int16_t ret = 0;
|
||||||
size_t to_read_frames = 0;
|
size_t to_read_frames = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user