Add missing checksums, and make the default audio device /dev/audio
This commit is contained in:
parent
31968b699a
commit
5eac527050
@ -1 +1,3 @@
|
||||
MD5 (waveplay-19990123.tar.gz) = 12b76087af671b65aeb07679fd719b1e
|
||||
RMD160 (waveplay-19990123.tar.gz) = 1ae19f28e3a9ea94ff26429d932a9d546b21b0e8
|
||||
SHA1 (waveplay-19990123.tar.gz) = 1f762c3236e14a4633454134eb922b272528d3b5
|
||||
|
@ -1,21 +1,22 @@
|
||||
*** waveplay.c.orig Wed Sep 9 01:24:05 1998
|
||||
--- waveplay.c Mon Aug 30 12:58:21 1999
|
||||
***************
|
||||
*** 11,17 ****
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
! #if defined (__FreeBSD__)
|
||||
#include <machine/soundcard.h>
|
||||
#elif defined (linux)
|
||||
#include <linux/soundcard.h>
|
||||
--- 11,19 ----
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
! #if defined(__OpenBSD__)
|
||||
! #include <soundcard.h>
|
||||
! #elif defined (__FreeBSD__)
|
||||
#include <machine/soundcard.h>
|
||||
#elif defined (linux)
|
||||
#include <linux/soundcard.h>
|
||||
--- waveplay.c.orig Wed Sep 9 01:24:05 1998
|
||||
+++ waveplay.c Tue Feb 29 21:04:55 2000
|
||||
@@ -11,7 +11,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
-#if defined (__FreeBSD__)
|
||||
+#if defined(__OpenBSD__)
|
||||
+#include <soundcard.h>
|
||||
+#elif defined (__FreeBSD__)
|
||||
#include <machine/soundcard.h>
|
||||
#elif defined (linux)
|
||||
#include <linux/soundcard.h>
|
||||
@@ -20,7 +22,7 @@
|
||||
#include "wavefmt.h"
|
||||
|
||||
#ifndef DEFAULT_DSP
|
||||
-#define DEFAULT_DSP "/dev/dsp"
|
||||
+#define DEFAULT_DSP "/dev/audio"
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_BUFFERSIZE
|
||||
|
Loading…
Reference in New Issue
Block a user