openbsd-ports/audio/esound/patches/patch-audio_c
jakemsr feb531b75c bring back esound-0.2.38.
fix the issues with audio(4) handling that caused this to get
reverted previously.

add an arts flavor.
2008-03-31 01:05:54 +00:00

40 lines
1.2 KiB
Plaintext

$OpenBSD: patch-audio_c,v 1.5 2008/03/31 01:05:54 jakemsr Exp $
--- audio.c.orig Thu Apr 19 17:43:59 2007
+++ audio.c Sat Jun 2 23:15:49 2007
@@ -20,34 +20,7 @@ static int esd_audio_fd = -1;
/*******************************************************************/
/* returns audio_fd for use by main prog - platform dependent */
-/* ALSA before OSS as ALSA is OSS compatible */
-#if defined(DRIVER_ALSA_09)
-# include "audio_alsa09.c"
-#elif defined(DRIVER_ALSA) || defined(DRIVER_NEWALSA)
-# include "audio_alsa.c"
-#elif defined(DRIVER_OSS)
-# include "audio_oss.c"
-#elif defined(DRIVER_AIX)
-# include "audio_aix.c"
-#elif defined(DRIVER_IRIX)
-# include "audio_irix.c"
-#elif defined(DRIVER_HPUX)
-# include "audio_hpux.c"
-#elif defined(DRIVER_OSF)
-# include "audio_osf.c"
-#elif defined(DRIVER_SOLARIS)
-# include "audio_solaris.c"
-#elif defined(DRIVER_MKLINUX)
-# include "audio_mklinux.c"
-#elif defined(DRIVER_DART)
-# include "audio_dart.c"
-#elif defined(DRIVER_COREAUDIO)
-# include "audio_coreaudio.c"
-#elif defined(DRIVER_ARTS)
-# include "audio_arts.c"
-#else
-# include "audio_none.c"
-#endif
+#include "audio_sun.c"
/*******************************************************************/
/* display available devices */