LIBRETRO: simplify audio_batch_cb call

This commit is contained in:
Giovanni Cascione 2023-04-01 22:00:01 +02:00
parent f6010ebdaf
commit dbd7608f55

View File

@ -719,7 +719,7 @@ void retro_run(void) {
audio_buffer_init(SAMPLE_RATE, (uint16) frame_rate);
}
#endif
audio_batch_cb((audio_status & AUDIO_STATUS_MUTE) ? NULL : (int16_t *) sound_buffer, samples_count); // Set to NULL to skip sound rendering
audio_batch_cb((int16_t *) sound_buffer, samples_count);
current_frame++;