*BSD News Article 77457


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!lynx.aba.net.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!newsfeed.internetmci.com!swrinde!sdd.hp.com!hamblin.math.byu.edu!news.byu.edu!news
From: gritton@saskatchewan.et.byu.edu (Jamie Gritton)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Sound Blaster driver problems
Date: 03 Sep 1996 14:52:21 GMT
Organization: Brigham Young University, Provo UT USA
Lines: 15
Message-ID: <50hhf9$ihf@news.et.byu.edu>
Reply-To: gritton@byu.edu
NNTP-Posting-Host: saskatchewan.et.byu.edu

   I'm having trouble getting the Sound Blaster audio driver to work
for me.  Using 1.1, it will play sounds OK as long as I open the
device, write the waveform, and close it.  But if I open, write, wait,
and write some more, then later sounds are partially or fully cut off.
Also, any attempts to change the playback sampling rate fail.
   With the current sources, I can at least change the playback rate,
bit the sounds still go away after a pause, and always have this
"snap-crackle-pop" over them, like the entire wave isn't being written
at once.
   Am I mistaken in thinking that all I need to do is open /dev/sound,
set the sampling rate and data format, write the data, and call the
drain ioctl?  Is this a known problem with the SB driver, or am I just
doing something wrong?
--
James Gritton - gritton@byu.edu - I disclaim - "