Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 1998 16:31:54 -0800
From:      Peter Haight <peterh@sendmail.com>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   No sound with quake 2 on FreeBSD-2.2.8
Message-ID:  <199812310031.QAA00312@livorno.sendmail.com>

next in thread | raw e-mail | index | archive | help

I have had no luck getting sound to work with Quake II on FreeBSD-2.2.8.
Here is a ktrace of what's going on when it tries to initialize the sound.
       "
        ------- sound initialization -------
       "
   278 quake2   RET   write 38/0x26
   278 quake2   CALL  sstk(0xffff,0x3f5)
   278 quake2   RET   sstk RESTART
   278 quake2   CALL  open(0x87b7158,0x2,0x3f5)
   278 quake2   NAMI  "/compat/linux/dev/dsp"
   278 quake2   NAMI  "/dev/dsp"
   278 quake2   RET   open 5
   278 quake2   CALL  getuid
   278 quake2   RET   getuid 1013/0x3f5
   278 quake2   CALL  sstk(0xffff,0x3f5)
   278 quake2   RET   sstk RESTART
   278 quake2   CALL  ioctl(0x5,0x5000 ,0)
   278 quake2   RET   ioctl 0
   278 quake2   CALL  ioctl(0x5,0x8004500f ,0xefbfd910)
   278 quake2   RET   ioctl 0
   278 quake2   CALL  write(0x1,0x281a4000,0x27)
   278 quake2   GIO   fd 1 wrote 39 bytes
       "Sorry but your soundcard can't do this
       "
   278 quake2   RET   write 39/0x27
   278 quake2   CALL  close(0x5)
   278 quake2   RET   close 0
   278 quake2   CALL  ktrace(0x87ba000)
   278 quake2   RET   ktrace 142319616/0x87ba000
   278 quake2   CALL  write(0x1,0x281a4000,0x25)
   278 quake2   GIO   fd 1 wrote 37 bytes

>From what I can tell, it calls SNDCTL_DSP_RESET and then SNDCTL_DSP_GETCAPS
which both seem to work ok, but it doesn't seem to like the result it gets
from SNDCTL_DSP_GETCAPS. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812310031.QAA00312>