*BSD News Article 24934


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!cs.utexas.edu!uunet!EU.net!ieunet!news.ieunet.ie!jkh
From: jkh@whisker.lotus.ie (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.bugs
Subject: [FreeBSD] Sound users:  Please apply this patch!
Date: 12 Dec 1993 14:00:30 GMT
Organization: Dublin, Ireland
Lines: 36
Distribution: world
Message-ID: <JKH.93Dec12060030@whisker.lotus.ie>
NNTP-Posting-Host: whisker.lotus.ie

If you're currently supping FreeBSD-current (I.E. the default sup
sources), you need not worry about applying this as you'll get it over
sup in the next 8 hours or so.  If not, and you've been having trouble
with using your soundcard (I.E. crashes system, samples are truncated,
etc) then please try applying this patch and let me know how it
works/doesn't work for you!  I've tested with the GUS, and it works
fine, but not had a chance to test with much else (SBlaster is in
another machine where I can't easily get at it for the moment).

Thanks!

					Jordan


*** /usr/src/sys/i386/isa/sound/soundcard.c.orig	Sun Dec 12 05:57:19 1993
--- soundcard.c	Sun Dec 12 02:00:44 1993
***************
*** 549,555 ****
  	  if (sound_dsp_dmachan[dev] > 3 && sound_buffsizes[dev] > 65536)
  	    dma_pagesize = 131072;	/* 128k */
  	  else
! 	    dma_pagesize = 65536;
  
  	  /* More sanity checks */
  
--- 549,555 ----
  	  if (sound_dsp_dmachan[dev] > 3 && sound_buffsizes[dev] > 65536)
  	    dma_pagesize = 131072;	/* 128k */
  	  else
! 	    dma_pagesize = /* 65536; */ 4096; /* Only 4K safe for now */
  
  	  /* More sanity checks */
  

--
(Jordan K. Hubbard)  jkh@violet.berkeley.edu, jkh@al.org, jkh@whisker.lotus.ie