diff options
author | wiz <wiz@pkgsrc.org> | 2002-11-22 12:25:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-11-22 12:25:48 +0000 |
commit | 14b877856ad7df45797eaf1888723454ba6197df (patch) | |
tree | 93e22574aade38d64b2e7cceb7f40cc5e751ad3a /emulators/atari800/patches/patch-aa | |
parent | d87dcdc3a9bd64faa3afaf180880cabe218e651e (diff) | |
download | pkgsrc-14b877856ad7df45797eaf1888723454ba6197df.tar.gz |
Update to 1.2.4, based on PR 19113 by Christian Groessler.
Some additional cleanup by me.
Changes since 0.9.9* are too many to list here -- lots of new features.
Diffstat (limited to 'emulators/atari800/patches/patch-aa')
-rw-r--r-- | emulators/atari800/patches/patch-aa | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/emulators/atari800/patches/patch-aa b/emulators/atari800/patches/patch-aa index dd4469b3829..53894679190 100644 --- a/emulators/atari800/patches/patch-aa +++ b/emulators/atari800/patches/patch-aa @@ -1,25 +1,22 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/05/23 05:17:05 tv Exp $ +$NetBSD: patch-aa,v 1.2 2002/11/22 12:25:49 wiz Exp $ ---- sound.c.orig Tue Dec 1 11:46:36 1998 -+++ sound.c Sun May 23 00:35:02 1999 -@@ -5,7 +5,7 @@ - #ifdef VOXWARE +--- sound.c.orig Wed Aug 7 10:43:58 2002 ++++ sound.c Wed Nov 20 15:50:44 2002 +@@ -7,7 +7,7 @@ + #ifdef SOUND #include <fcntl.h> #include <sys/ioctl.h> -#include <sys/soundcard.h> +#include <soundcard.h> #include "pokeysnd.h" + #include "log.h" +@@ -20,7 +20,7 @@ -@@ -57,9 +57,9 @@ - unsigned int formats; - int tmp; + #define DEFDSPRATE 22050 -- dsp_fd = open("/dev/dsp", O_WRONLY, 0777); -+ dsp_fd = open("/dev/audio", O_WRONLY, 0777); - if (dsp_fd == -1) { -- perror("/dev/dsp"); -+ perror("/dev/audio"); - exit(1); - } - /* +-static char *dspname = "/dev/dsp"; ++static char *dspname = "/dev/audio"; + static int dsprate = DEFDSPRATE; + static int fragstofill = 0; + static int snddelay = 60; /* delay in milliseconds */ |