Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 02:30:04 -0700 (PDT)
From:      "Ulrich 'Q' Spoerlein" <q@uni.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/41747: quake won't play sound with newpcm driver
Message-ID:  <200208220930.g7M9U4Bj055628@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/41747; it has been noted by GNATS.

From: Ulrich 'Q' Spoerlein <q@uni.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Orion Hodson <orion@FreeBSD.org>
Subject: Re: kern/41747: quake won't play sound with newpcm driver
Date: Thu, 22 Aug 2002 11:27:56 +0200

 Hello again, thanks for your reply.
 
 moving the mmap() stuff down, resulted in "moving the error message
 down". that means putting mmap() after the setting to stereo resulted in
 "SNDDMA_Init: Could not set /dev/dsp speed to 11025."
 
 i put it right before the soundthread starts up, and get a bus error like
 this:
 ------- sound initialization -------
 sound sampling rate: 11025
 zsh: 72073 bus error (core dumped)  quake2
 
 btw, _don't_ edit the bsd/snd_bsd.c file, it has been merged into
 src/snd.c (the bsd/ directory is obsolete)
 
 another thing to mention is that the same error plagues the quake2 linux
 binary from id Software and the cinematics in Quake3 (in-game sound in
 Quake3 works though, it's just the cinematics)
 
 i can remember some guy telling me that sound in Quake2 was possible for
 him up to FreeBSD 4.2 (or was it 4.3?). i will now try to get the pcm
 driver from 4.2-RELEASE into my kernel and pin down the exact CVS commit
 responsible for breaking the sound in quake2.
 
 btw, do you by any chance know how i get the /src/sys/dev/sound directory
 from 4.2-RELEASE into my sources?

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




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