*BSD News Article 41648


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!agate!edcom.com!edward
From: edward@edcom.com (Edward Wang)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Problems with /dev/audio
Date: 28 Jan 1995 02:54:32 GMT
Organization: Computer Science Division, UC Berkeley
Lines: 30
Message-ID: <3gcbl8$flh@agate.berkeley.edu>
References: <3f4qs3$mri@cs.ubc.ca> <NILS.95Jan14115006@guru.stgt.sub.org>
NNTP-Posting-Host: priam.cs.berkeley.edu
Cc: 

In article <NILS.95Jan14115006@guru.stgt.sub.org>,
Cornelis van der Laan <nils@ims.uni-stuttgart.de> wrote:
> 
>Hi, I also had this problem using my Soundblaster 16, although a former
>Soundblaster Pro worked without any problems.
>
>Here is a patch that helped me (note that I'm running FreeBSD 1.1.5
>...

The patch works great.  Thanks.

However, some of the line numbers don't seem to correspond to any version
of source that I have (maybe 1.1.5 is different from 1.1.5.1?).
So if anyone else wants the same thing, I can provide patches based
on the 1.1.5.1 files.

The original poster:

>In article <3f4qs3$mri@cs.ubc.ca> coatta@frood.nsg.bc.ca (Terry Coatta) writes:
>> ...
>> For example:
>> 
>>    cat my_sound.au > /dev/audio
>> 
>> plays the contents of the .au file alright, but the command never returns,
>> and I eventually have to resort to ctl-C to killit off.

And sometimes ^C doesn't kill it either.  This is a manifestation
of a sleep bug in isa/sound/os.h, which I have fixed.  I believe
2.0 has the same bug.