non port: games/quake2lnx/files/patch-src_linux_snd__linux.c |
Number of commits found: 1 |
Friday, 9 Aug 2013
|
13:28 danfe
- Some time ago, original (non-SDL) client executable started to yield
choppy sound (when using standard OSS API). It happens because the
SNDCTL_DSP_GETOSPACE ioctl() was issued before setting other important
parameters; to remedy the problem, it should be moved below the mmap()
call. While here, cleanup few more potential problems: avoid using
AFMT_S16_LE as it would break on big-endian machines, align mmap()'ed
buffer to the page size, and fix resource leaks here and there.
- In the port's Makefile: bump PORTREVISION and convert USE_GMAKE
Submitted by: Ozkan Sezer (via icculus.org quake2 mailing list)
|
Number of commits found: 1 |