[quake2] Choppy sound with default (non-SDL) client
danfe at nsu.ru
Sat Apr 27 21:23:29 EDT 2013
On Sat, Apr 27, 2013 at 01:24:18PM +0300, Ozkan Sezer wrote:
> On 4/27/13, Alexey Dokuchaev <danfe at nsu.ru> wrote:
> > I've heard several reports over quite some time that default (non-SDL)
> > client executable gives choppy sound on FreeBSD (that is, OSS). SDL
> > version (quake2-sdl) works fine. Is this a known problem? What might be
> > the cause (and the fix)?
> It is because the SNDCTL_DSP_GETOSPACE ioctl is issued before setting
> other important parameters: if it is move to the place just below the
> mmaping it is fixed. See the patch I just cooked up (which contains a
> few additional bits)
OK, I see. Yes, I've noticed similar patch for fteqw we also have in the
[FreeBSD] ports, but haven't give it a try yet.
> BTW, a maintained and updated version of icculus-quake2 is at:
Cool, I'll add it to FreeBSD ports collection. I can instate you as
maintainer of it if you wish. :)
Thanks for the insight!
./danfe (maintainer of icculus-quake2 in FreeBSD)
More information about the quake2