Merge pull request #4836 from Monroe88/audio_device_fix

(menu_setting.c) Reinit audio driver when audio device is changed
This commit is contained in:
Twinaphex 2017-04-23 07:51:39 +02:00 committed by GitHub
commit 7afc83518d

View File

@ -1685,6 +1685,9 @@ void general_write_handler(void *data)
case MENU_ENUM_LABEL_AUDIO_LATENCY:
rarch_cmd = CMD_EVENT_AUDIO_REINIT;
break;
case MENU_ENUM_LABEL_AUDIO_DEVICE:
rarch_cmd = CMD_EVENT_AUDIO_REINIT;
break;
case MENU_ENUM_LABEL_PAL60_ENABLE:
{
global_t *global = global_get_ptr();