change back to 22khz. seems to work better.

This commit is contained in:
dborth 2009-05-12 04:32:32 +00:00
parent 566f849b1d
commit 17f70bcecb

View File

@ -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.");