use a larger audio buffer.
ok pvalchev
This commit is contained in:
parent
99623fb833
commit
1846e07147
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2007/09/15 18:01:01 simon Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2009/01/25 01:30:16 jakemsr Exp $
|
||||
|
||||
COMMENT= graphically improved game of yore
|
||||
|
||||
@ -7,6 +7,7 @@ DATAVERSION= 1.5
|
||||
SOUNDVERSION= 1.0
|
||||
MUSICVERSION= 1.0
|
||||
DISTNAME= heroes-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= games x11
|
||||
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
|
12
games/heroes/patches/patch-src_media_sdl_mixer_strack_c
Normal file
12
games/heroes/patches/patch-src_media_sdl_mixer_strack_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_media_sdl_mixer_strack_c,v 1.1 2009/01/25 01:30:17 jakemsr Exp $
|
||||
--- src/media/sdl_mixer/strack.c.orig Sat Jan 24 05:05:16 2009
|
||||
+++ src/media/sdl_mixer/strack.c Sat Jan 24 05:07:20 2009
|
||||
@@ -80,7 +80,7 @@ init_sound_engine (void)
|
||||
if (!audio_buffers)
|
||||
/* Use small values for audio buffer to reduce the duration between
|
||||
the moment where a sample is mixed and the moment where it is heard. */
|
||||
- audio_buffers = (hqmix ? 2048 : 1024);
|
||||
+ audio_buffers = (hqmix ? 2048 : 1024) * 2;
|
||||
|
||||
init_SDL ();
|
||||
/* Open the audio device */
|
Loading…
Reference in New Issue
Block a user