diff --git a/src/dosbox.cpp b/src/dosbox.cpp index c8fb8fc..0dd0fba 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -438,11 +438,7 @@ void DOSBOX_Init(void) { Pbool = secprop->Add_bool("nosound",Property::Changeable::OnlyAtStart,false); Pbool->Set_help("Enable silent mode, sound is still emulated though."); -#ifdef HW_RVL - Pint = secprop->Add_int("rate",Property::Changeable::OnlyAtStart,32000); -#else Pint = secprop->Add_int("rate",Property::Changeable::OnlyAtStart,22050); -#endif Pint->Set_values(rates); Pint->Set_help("Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality."); @@ -517,11 +513,7 @@ void DOSBOX_Init(void) { Pstring->Set_values(oplemus); Pstring->Set_help("Provider for the OPL emulation. compat or old might provide better quality (see oplrate as well)."); -#ifdef HW_RVL - Pint = secprop->Add_int("oplrate",Property::Changeable::WhenIdle,32000); -#else Pint = secprop->Add_int("oplrate",Property::Changeable::WhenIdle,22050); -#endif Pint->Set_values(oplrates); Pint->Set_help("Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly)."); @@ -530,11 +522,7 @@ void DOSBOX_Init(void) { Pbool = secprop->Add_bool("gus",Property::Changeable::WhenIdle,false); Pbool->Set_help("Enable the Gravis Ultrasound emulation."); -#ifdef HW_RVL - Pint = secprop->Add_int("gusrate",Property::Changeable::WhenIdle,32000); -#else Pint = secprop->Add_int("gusrate",Property::Changeable::WhenIdle,22050); -#endif Pint->Set_values(rates); Pint->Set_help("Sample rate of Ultrasound emulation."); @@ -561,11 +549,7 @@ void DOSBOX_Init(void) { Pbool = secprop->Add_bool("pcspeaker",Property::Changeable::WhenIdle,true); Pbool->Set_help("Enable PC-Speaker emulation."); -#ifdef HW_RVL - Pint = secprop->Add_int("pcrate",Property::Changeable::WhenIdle,32000); -#else Pint = secprop->Add_int("pcrate",Property::Changeable::WhenIdle,22050); -#endif Pint->Set_values(rates); Pint->Set_help("Sample rate of the PC-Speaker sound generation."); @@ -575,11 +559,7 @@ void DOSBOX_Init(void) { Pstring->Set_values(tandys); Pstring->Set_help("Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'."); -#ifdef HW_RVL - Pint = secprop->Add_int("tandyrate",Property::Changeable::WhenIdle,32000); -#else Pint = secprop->Add_int("tandyrate",Property::Changeable::WhenIdle,22050); -#endif Pint->Set_values(rates); Pint->Set_help("Sample rate of the Tandy 3-Voice generation.");