mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
(WASAPI) WASAPI settings did not show up anymore
This commit is contained in:
parent
25a8bc9a42
commit
55b4ceec70
@ -1688,6 +1688,14 @@ error:
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *audio_driver_get_ident(void)
|
||||
{
|
||||
audio_driver_state_t *audio_st = &audio_driver_st;
|
||||
if (!audio_st->current_audio)
|
||||
return NULL;
|
||||
return audio_st->current_audio->ident;
|
||||
}
|
||||
|
||||
bool audio_driver_stop(void)
|
||||
{
|
||||
bool stopped;
|
||||
|
@ -443,6 +443,8 @@ extern audio_driver_t audio_rwebaudio;
|
||||
|
||||
audio_driver_state_t *audio_state_get_ptr(void);
|
||||
|
||||
const char *audio_driver_get_ident(void);
|
||||
|
||||
extern audio_driver_t *audio_drivers[];
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
@ -14703,7 +14703,7 @@ static bool setting_append_list(
|
||||
SETTINGS_DATA_LIST_CURRENT_ADD_FLAGS(list, list_info, SD_FLAG_LAKKA_ADVANCED);
|
||||
|
||||
#ifdef HAVE_WASAPI
|
||||
if (string_is_equal(settings->arrays.audio_driver, "wasapi"))
|
||||
if (string_is_equal(audio_driver_get_ident(), "wasapi"))
|
||||
{
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
|
Loading…
Reference in New Issue
Block a user