diff options
Diffstat (limited to 'audio/libsndfile/patches/patch-ac')
-rw-r--r-- | audio/libsndfile/patches/patch-ac | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/libsndfile/patches/patch-ac b/audio/libsndfile/patches/patch-ac index 50533bb3cc7..962c4fca0ce 100644 --- a/audio/libsndfile/patches/patch-ac +++ b/audio/libsndfile/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.5 2004/06/28 08:14:03 adam Exp $ +$NetBSD: patch-ac,v 1.6 2004/11/19 12:15:14 adam Exp $ ---- examples/sndfile-play.c.orig 2004-06-16 10:17:04.000000000 +0000 +--- examples/sndfile-play.c.orig 2004-11-14 19:57:17.000000000 +0000 +++ examples/sndfile-play.c @@ -34,16 +34,21 @@ #include <sys/time.h> @@ -26,7 +26,7 @@ $NetBSD: patch-ac,v 1.5 2004/06/28 08:14:03 adam Exp $ #include <fcntl.h> #include <sys/ioctl.h> #include <sys/audioio.h> -@@ -326,7 +331,7 @@ alsa_write_float (snd_pcm_t *alsa_dev, f +@@ -324,7 +329,7 @@ alsa_write_float (snd_pcm_t *alsa_dev, f ** Linux/OSS functions for playing a sound. */ @@ -35,7 +35,7 @@ $NetBSD: patch-ac,v 1.5 2004/06/28 08:14:03 adam Exp $ static int linux_open_dsp_device (int channels, int srate) ; -@@ -389,7 +394,7 @@ static int +@@ -387,7 +392,7 @@ static int linux_open_dsp_device (int channels, int srate) { int fd, stereo, temp, error ; @@ -44,7 +44,7 @@ $NetBSD: patch-ac,v 1.5 2004/06/28 08:14:03 adam Exp $ (fd = open ("/dev/sound/dsp", O_WRONLY, 0)) == -1) { perror ("linux_open_dsp_device : open ") ; exit (1) ; -@@ -762,7 +767,8 @@ win32_play (int argc, char *argv []) +@@ -798,7 +803,8 @@ win32_play (int argc, char *argv []) ** Solaris. */ @@ -54,7 +54,7 @@ $NetBSD: patch-ac,v 1.5 2004/06/28 08:14:03 adam Exp $ static void solaris_play (int argc, char *argv []) -@@ -869,7 +875,7 @@ main (int argc, char *argv []) +@@ -905,7 +911,7 @@ main (int argc, char *argv []) return 1 ; } ; @@ -63,7 +63,7 @@ $NetBSD: patch-ac,v 1.5 2004/06/28 08:14:03 adam Exp $ #if HAVE_ALSA_ASOUNDLIB_H if (access ("/proc/asound/cards", R_OK) == 0) alsa_play (argc, argv) ; -@@ -878,7 +884,8 @@ main (int argc, char *argv []) +@@ -914,7 +920,8 @@ main (int argc, char *argv []) linux_play (argc, argv) ; #elif (defined (__MACH__) && defined (__APPLE__)) macosx_play (argc, argv) ; |