[WIP] Libretro: Add audio support (#714)
* Libretro: Add audio support * Adding audio interface part 1 * Audio device pt 2 * More audio device * More audio device * Morea uudi odevice * More audio device * More audio device * More audio device --------- Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
This commit is contained in:
@@ -389,6 +389,8 @@ void retro_run() {
|
||||
emulator->runFrame();
|
||||
|
||||
videoCallback(RETRO_HW_FRAME_BUFFER_VALID, emulator->width, emulator->height, 0);
|
||||
// Call audio batch callback
|
||||
emulator->getAudioDevice().renderBatch(audioBatchCallback);
|
||||
}
|
||||
|
||||
void retro_set_controller_port_device(uint port, uint device) {}
|
||||
|
||||
Reference in New Issue
Block a user