For SB 2.x speed was reduced to 22050;

I already fix this bug in previous driver version,
but new driver update breaks my changes!
This commit is contained in:
Andrey A. Chernov 1994-03-23 22:52:30 +00:00
parent 176eaca913
commit 5d8d655374
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1303

View File

@ -311,7 +311,7 @@ dsp_set_stereo (int mode)
#ifdef EXCLUDE_SBPRO
return 0;
#else
if (sb_dsp_model == 1 || sb16)
if (sb_dsp_model < 3 || sb16)
return 0; /* Sorry no stereo */
if (mode && sb_midi_busy)
@ -683,8 +683,7 @@ sb_dsp_init (long mem_start, struct address_info *hw_config)
if (major == 4)
sb16 = 1;
if (major >= 3)
sb_dsp_model = 2;
sb_dsp_model = major;
#ifndef EXCLUDE_SBPRO
if (major >= 3)