diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 376329f08..e492e2a5b 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -916,7 +916,6 @@ void D_RegisterClientCommands(void) #if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4 CV_RegisterVar(&cv_amigatype); #endif - //CV_RegisterVar(&cv_mptdither); #endif // FIXME: not to be here.. but needs be done for config loading diff --git a/src/s_sound.c b/src/s_sound.c index f008032fb..89d3d96a9 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -71,7 +71,6 @@ static void AmigaFilter_OnChange(void); #if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4 static void AmigaType_OnChange(void); #endif -//static void MPTDither_OnChange(void); #endif // commands for music and sound servers @@ -150,12 +149,10 @@ consvar_t cv_amigafilter = {"amigafilter", "1", CV_SAVE|CV_CALL, amigafilter_con #if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4 -static CV_PossibleValue_t amigatype_cons_t[] = {{0, "auto"}, {1, "a500"}, {2, "a1200"}, {3, "unfiltered"}, {0, NULL}}; +static CV_PossibleValue_t amigatype_cons_t[] = {{0, "auto"}, {1, "a500"}, {2, "a1200"}, {0, NULL}}; consvar_t cv_amigatype = {"amigatype", "0", CV_SAVE|CV_CALL, amigatype_cons_t, AmigaType_OnChange, 0, NULL, NULL, 0, 0, NULL}; #endif -//static CV_PossibleValue_t mptdither_cons_t[] = {{0, "No dithering"}, {1, "Default"}, {2, "Rectangular 0.5 bit"}, {3, "Rectangular 1 bit"}, {0, NULL}}; -//consvar_t cv_mptdither = {"mptdither", "1", CV_SAVE|CV_CALL, mptdither_cons_t, MPTDither_OnChange, 0, NULL, NULL, 0, 0, NULL}; #endif #define S_MAX_VOLUME 127 @@ -2248,14 +2245,6 @@ void AmigaType_OnChange(void) COM_ImmedExecute("restartmusic"); //need to restart the music system or else it wont work } #endif - -/* -void MPTDither_OnChange(void) -{ - if (openmpt_mhandle) - openmpt_module_ctl_set(openmpt_mhandle, "dither", cv_mptdither.value); - } -*/ #endif #ifndef NO_MIDI diff --git a/src/s_sound.h b/src/s_sound.h index a26e0ec86..2bcf6c4f7 100644 --- a/src/s_sound.h +++ b/src/s_sound.h @@ -48,7 +48,6 @@ extern consvar_t cv_amigafilter; #if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4 extern consvar_t cv_amigatype; #endif -//extern consvar_t cv_mptdither; #endif extern consvar_t cv_music_resync_threshold;