freebsd-ports/audio/sidplay2/files/patch-src_audio_oss_audiodrv.h
Ion-Mihai Tetcu 6d8d821098 Sidplay 2 is the second in the Sidplay series originally developed by Michael
Schwendt. This version is written by Simon White and is cycle accurate for
improved sound reproduction. Sidplay 2 is capable of playing all C64 mono and
stereo file formats.

WWW: http://sidplay2.sourceforge.net/

PR:		ports/98762
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
Approved by:	lawrance (mentor, implicit)
2006-06-10 22:13:39 +00:00

19 lines
494 B
C

--- src/audio/oss/audiodrv.h.orig Fri Jun 9 13:55:40 2006
+++ src/audio/oss/audiodrv.h Fri Jun 9 13:56:03 2006
@@ -57,15 +57,7 @@
#include <stdio.h>
#include <unistd.h>
-#if defined(HAVE_LINUX_SOUNDCARD_H)
-# include <linux/soundcard.h>
-#elif defined(HAVE_MACHINE_SOUNDCARD_H)
-# include <machine/soundcard.h>
-#elif defined(HAVE_SOUNDCARD_H)
-# include <soundcard.h>
-#else
-# error Audio driver not supported.
-#endif
+#include <sys/soundcard.h>
#include "../AudioBase.h"