Initialize device list after initializing audio driver

This commit is contained in:
twinaphex 2016-04-26 18:10:52 +02:00
parent d20a2edcb4
commit 3f526ed625

View File

@ -338,7 +338,10 @@ static void init_drivers(int flags)
}
if (flags & DRIVER_AUDIO)
{
audio_driver_ctl(RARCH_AUDIO_CTL_INIT, NULL);
audio_driver_ctl(RARCH_AUDIO_CTL_DEVICES_LIST_NEW, NULL);
}
/* Only initialize camera driver if we're ever going to use it. */
if ((flags & DRIVER_CAMERA) && camera_driver_ctl(RARCH_CAMERA_CTL_IS_ACTIVE, NULL))