Nikos Chantziaras 9e8f918b27
Libretro: Batch upload audio to frontend after video upload
Uploading audio at the end of retro_run() with
retro_audio_sample_batch_t instead of using retro_audio_sample_t to
submit samples as they are generated has peformance benefits when using
low audio latency settings. Frontends that implement audio sync and DRC
(like RetroArch) will block for a long time when submitting audio. This
can cause video frame presentation to be delayed too long. Low audio
latency settings make it worse, as DRC and audio sync is performed more
often, creating a bottleneck.

Simply accumulating all generated audio samples and uploading them at
the end with retro_audio_sample_batch_t improves things condiderably.
2022-04-02 08:51:39 +03:00
..
2021-05-30 20:55:04 +03:00
2021-07-29 23:19:13 +03:00
2021-07-29 23:03:36 +03:00
2017-10-09 11:36:23 -05:00
2021-05-30 20:55:04 +03:00
2020-10-10 23:33:58 +00:00
2021-07-29 23:03:36 +03:00