Change default sample-rate to 48kHz

44.1kHz is dead; many soundcards do not support it anymore.
This commit is contained in:
Robin Gareus
2023-12-06 22:36:53 +01:00
parent 004097075a
commit 963c104cca

View File

@@ -365,12 +365,12 @@ public:
/* Returns the default sample rate that will be shown to the user when
* configuration options are first presented. If the derived class
* needs or wants to override this, it can. It also MUST override this
* if there is any chance that an SR of 44.1kHz is not in the list
* if there is any chance that an SR of 48kHz is not in the list
* returned by available_sample_rates()
*/
virtual float default_sample_rate () const
{
return 44100.0;
return 48000.0;
}
/** Returns a collection of uint32 identifying buffer sizes that are