Subject: kern/3991: Audio lags in linux X doom
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dave@MCS.VUW.AC.NZ>
List: netbsd-bugs
Date: 08/16/1997 05:58:17
>Number:         3991
>Category:       kern
>Synopsis:       Audio lags in linux X doom
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 15 11:05:01 1997
>Last-Modified:
>Originator:     Dave Sainty
>Organization:
>Release:        sup as at 16/8/97
>Environment:
>Description:
	After the recent changes to the audio code, linux X doom sound broke,
	now lagging the event by about a second.  Quake sound works great!
	(I don't actually play games THAT much... :)

sb0 at isa1 port 0x220-0x237 irq 5 drq 1: dsp v4.11
audio0 at sb0

This may be relevant (settings after running doom)...

name=SoundBlaster
version=4.11
config=SB_16
encodings=ulinear:8,mulaw:8*,alaw:8*,linear:8,linear_le:16,ulinear_le:16,linear_be:16*,ulinear_be:16*
properties=mmap
full_duplex=0
buffersize=65536
blocksize=2192
hiwat=29
lowat=21
backlog=0
mode=play
play.rate=11025
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=192
play.port=0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=0
record.rate=11025
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=0
record.port=5
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=1
record.active=0
record.errors=0

>How-To-Repeat:
	Run linuxxdoom in the above environment.
>Fix:
	Sorry...  It's obviously buffering though...
>Audit-Trail:
>Unformatted:
System: NetBSD tequila.ext.nz 1.2G NetBSD 1.2G (TEQUILA) #33: Sat Aug 16 05:09:56 NZST 1997 dave@tequila.ext.nz:/vol/tequila/userC/NetBSD-current/src/sys/arch/i386/compile/TEQUILA i386