mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
audio_driver.c - cleanup
This commit is contained in:
parent
570d9c2164
commit
aac78af832
@ -872,15 +872,13 @@ bool audio_driver_set_callback(const void *data)
|
||||
const struct retro_audio_callback *cb = (const struct retro_audio_callback*)data;
|
||||
#ifdef HAVE_NETPLAY
|
||||
global_t *global = global_get_ptr();
|
||||
if (global->netplay.enable)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if (recording_driver_get_data_ptr()) /* A/V sync is a must. */
|
||||
return false;
|
||||
|
||||
#ifdef HAVE_NETPLAY
|
||||
if (global->netplay.enable)
|
||||
return false;
|
||||
#endif
|
||||
if (cb)
|
||||
audio_callback = *cb;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user