Don't reinit the audio driver when audio device is switched for now. It can break the setting UI.

This commit is contained in:
Jean-André Santoni 2017-07-16 20:48:57 +02:00
parent b75bb07329
commit d2cdc97e8f

View File

@ -1731,7 +1731,6 @@ void general_write_handler(void *data)
audio_set_float(AUDIO_ACTION_MIXER_VOLUME_GAIN, *setting->value.target.fraction); audio_set_float(AUDIO_ACTION_MIXER_VOLUME_GAIN, *setting->value.target.fraction);
break; break;
case MENU_ENUM_LABEL_AUDIO_LATENCY: case MENU_ENUM_LABEL_AUDIO_LATENCY:
case MENU_ENUM_LABEL_AUDIO_DEVICE:
case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE: case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE:
case MENU_ENUM_LABEL_AUDIO_WASAPI_EXCLUSIVE_MODE: case MENU_ENUM_LABEL_AUDIO_WASAPI_EXCLUSIVE_MODE:
case MENU_ENUM_LABEL_AUDIO_WASAPI_FLOAT_FORMAT: case MENU_ENUM_LABEL_AUDIO_WASAPI_FLOAT_FORMAT: