openbsd-ports/x11/mplayer/patches/patch-libao2_audio_out_c
2008-10-30 18:33:42 +00:00

39 lines
1.0 KiB
Plaintext

--- libao2/audio_out.c.orig Sun Oct 7 21:49:27 2007
+++ libao2/audio_out.c Tue Oct 14 11:48:58 2008
@@ -53,6 +53,9 @@ extern ao_functions_t audio_out_sdl;
#ifdef USE_SUN_AUDIO
extern ao_functions_t audio_out_sun;
#endif
+#ifdef USE_LIBSNDIO_AUDIO
+extern ao_functions_t audio_out_libsndio;
+#endif
#ifdef USE_SGI_AUDIO
extern ao_functions_t audio_out_sgi;
#endif
@@ -74,6 +77,7 @@ extern ao_functions_t audio_out_v4l2;
extern ao_functions_t audio_out_mpegpes;
extern ao_functions_t audio_out_pcm;
extern ao_functions_t audio_out_pss;
+extern ao_functions_t audio_out_rtunes;
ao_functions_t* audio_out_drivers[] =
{
@@ -102,6 +106,9 @@ ao_functions_t* audio_out_drivers[] =
#ifdef USE_SGI_AUDIO
&audio_out_sgi,
#endif
+#ifdef USE_LIBSNDIO_AUDIO
+ &audio_out_libsndio,
+#endif
#ifdef USE_SUN_AUDIO
&audio_out_sun,
#endif
@@ -140,6 +147,7 @@ ao_functions_t* audio_out_drivers[] =
&audio_out_null,
// should not be auto-selected:
&audio_out_pcm,
+ &audio_out_rtunes,
NULL
};