forked from Lainports/freebsd-ports
13 lines
339 B
Text
13 lines
339 B
Text
--- audio_oss.c.orig Thu Nov 16 03:51:04 2000
|
|
+++ audio_oss.c Sat Nov 18 13:45:25 2000
|
|
@@ -57,6 +57,10 @@
|
|
# undef AUDIO_TRY32BITS
|
|
# endif
|
|
|
|
+# if !defined(SNDCTL_DSP_CHANNELS) && defined(SOUND_PCM_WRITE_CHANNELS)
|
|
+# define SNDCTL_DSP_CHANNELS SOUND_PCM_WRITE_CHANNELS
|
|
+# endif
|
|
+
|
|
# define AUDIO_DEVICE "/dev/dsp"
|
|
|
|
static int sfd;
|