OSSFree problems (was: AWE32 driver in 2.1.48)

Claudio Matsuoka (claudio@brasil.enemy.org)
Tue, 29 Jul 1997 00:43:02 -0300


Gerald Britton wrote:

> the new OSSFree driver (3.8g) on ftp.4front-tech.com appears to be
> buggy, causing oopses with mmap()'ed buffers as quake does.

And the extra 44100 in freq_div_table[] is still there. This will cause
problems if you have an old (GF1 based) GUS card and set the driver to
play more than 14 voices. The following patch should fix it.

--- sound/gus_wave.c Thu Jul 24 05:52:53 1997
+++ sound.new/gus_wave.c Tue Jul 29 00:24:49 1997
@@ -137,7 +137,6 @@

static int freq_div_table[] =
{
- 44100,
44100, /* 14 */
41160, /* 15 */
38587, /* 16 */