Files
ports/sysutils/cdrdao/files/patch-xdao::SoundIF-linux.cc
T
Ying-Chieh Liao 880f872b91 upgrade to 1.1.7
PR:		43960
Submitted by:	Ports Fury
2002-10-12 15:48:17 +00:00

18 lines
378 B
C++

--- xdao/SoundIF-linux.cc.orig Mon Oct 7 03:53:56 2002
+++ xdao/SoundIF-linux.cc Sat Oct 12 17:32:10 2002
@@ -34,7 +34,14 @@
*
*/
+# if defined(__FreeBSD__)
+#include <sys/soundcard.h>
+# if !defined(SNDCTL_DSP_CHANNELS)
+# define SNDCTL_DSP_CHANNELS SNDCTL_DSP_STEREO
+# endif
+# else
#include <linux/soundcard.h>
+# endif
#include <stdio.h>
#include <assert.h>