mirror of
https://github.com/libretro/RetroArch
synced 2024-07-08 12:15:49 +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…
Reference in New Issue
Block a user