diff --git a/configuration.c b/configuration.c index 16261c133c..4d3728ef63 100644 --- a/configuration.c +++ b/configuration.c @@ -717,9 +717,6 @@ static void config_set_defaults(void) settings->user_language = 0; global->console.sound.system_bgm_enable = false; -#ifdef RARCH_CONSOLE - global->console.sound.mode = SOUND_MODE_NORMAL; -#endif video_driver_ctl(RARCH_DISPLAY_CTL_DEFAULT_SETTINGS, NULL); @@ -1342,7 +1339,6 @@ static bool config_load_file(const char *path, bool set_defaults) * important that it works for consoles right now */ config_get_bool(conf, "custom_bgm_enable", &global->console.sound.system_bgm_enable); - CONFIG_GET_INT_BASE(conf, global, console.sound.mode, "sound_mode"); video_driver_ctl(RARCH_DISPLAY_CTL_LOAD_SETTINGS, conf); #endif CONFIG_GET_INT_BASE(conf, settings, state_slot, "state_slot"); @@ -2757,7 +2753,6 @@ bool config_save_file(const char *path) config_set_bool(conf, "config_save_on_exit", settings->config_save_on_exit); - config_set_int(conf, "sound_mode", global->console.sound.mode); config_set_int(conf, "state_slot", settings->state_slot); #ifdef HAVE_NETPLAY diff --git a/general.h b/general.h index f68a715be8..1b818630f7 100644 --- a/general.h +++ b/general.h @@ -44,18 +44,6 @@ extern "C" { #endif -enum sound_mode_enums -{ - SOUND_MODE_NORMAL = 0, -#ifdef HAVE_RSOUND - SOUND_MODE_RSOUND, -#endif -#ifdef HAVE_HEADSET - SOUND_MODE_HEADSET, -#endif - SOUND_MODE_LAST -}; - /** * retro_fail: * @error_code : Error code. diff --git a/runloop.h b/runloop.h index c0d3625532..65a660078e 100644 --- a/runloop.h +++ b/runloop.h @@ -278,7 +278,6 @@ typedef struct global struct { - unsigned mode; bool system_bgm_enable; } sound;