PREFSMAN->m_iSoundPreferredSampleRate == 0 means "do what's right for the hardware". We want a 44.1khz default for most systems, but KS should default to 48khz.
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
* samplerate to use instead. */
|
||||
unsigned Alsa9Buf::FindSampleRate( unsigned rate )
|
||||
{
|
||||
if( rate == 0 )
|
||||
rate = 44100;
|
||||
|
||||
snd_pcm_hw_params_t *testhw;
|
||||
dsnd_pcm_hw_params_alloca( &testhw );
|
||||
dsnd_pcm_hw_params_any( pcm, testhw );
|
||||
|
||||
Reference in New Issue
Block a user