Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / splay / patches / patch-aa
blob568906147e214047bf84c4ffe6729be92b695c25
1 $NetBSD$
3 --- mpegsound/rawplayer.cc.orig Fri Mar  6 18:43:55 1998
4 +++ mpegsound/rawplayer.cc      Sun Mar 28 19:44:54 1999
5 @@ -13,7 +13,11 @@
6  #include <fcntl.h>
7  #include <unistd.h>
8  #include <sys/ioctl.h>
9 +#ifdef __NetBSD__
10 +#include <soundcard.h>
11 +#else
12  #include <sys/soundcard.h>
13 +#endif
15  #include "mpegsound.h"
17 @@ -24,7 +28,11 @@
18  #define IOCTL(a,b,c)           (c = ioctl(a,b,c) )
19  #endif
21 +#ifdef __NetBSD__
22 +char *Rawplayer::defaultdevice="/dev/audio";
23 +#else
24  char *Rawplayer::defaultdevice="/dev/dsp";
25 +#endif
27  /* Volume */
28  int Rawplayer::setvolume(int volume)