openbsd-ports/x11/mplayer/patches/patch-libao2_audio_out_c
brad 0e36ec1ec6 Update to MPlayer 20120725 snapshot.
Testing by naddy@ sthen@ landry@ dcoppa@
OK naddy@ dcoppa@
2013-01-21 16:23:05 +00:00

38 lines
1.3 KiB
Plaintext

$OpenBSD: patch-libao2_audio_out_c,v 1.5 2013/01/21 16:23:05 brad Exp $
--- libao2/audio_out.c.orig Sat May 5 01:09:58 2012
+++ libao2/audio_out.c Sat May 5 01:30:00 2012
@@ -42,6 +42,7 @@ extern const ao_functions_t audio_out_null;
extern const ao_functions_t audio_out_alsa;
extern const ao_functions_t audio_out_nas;
extern const ao_functions_t audio_out_sdl;
+extern const ao_functions_t audio_out_sndio;
extern const ao_functions_t audio_out_sun;
extern const ao_functions_t audio_out_sgi;
extern const ao_functions_t audio_out_win32;
@@ -54,6 +55,7 @@ extern const ao_functions_t audio_out_v4l2;
extern const ao_functions_t audio_out_mpegpes;
extern const ao_functions_t audio_out_pcm;
extern const ao_functions_t audio_out_pss;
+extern const ao_functions_t audio_out_rtunes;
const ao_functions_t* const audio_out_drivers[] =
{
@@ -82,6 +84,9 @@ const ao_functions_t* const audio_out_drivers[] =
#ifdef CONFIG_SGI_AUDIO
&audio_out_sgi,
#endif
+#ifdef CONFIG_SNDIO_AUDIO
+ &audio_out_sndio,
+#endif
#ifdef CONFIG_SUN_AUDIO
&audio_out_sun,
#endif
@@ -120,6 +125,7 @@ const ao_functions_t* const audio_out_drivers[] =
&audio_out_null,
// should not be auto-selected:
&audio_out_pcm,
+ &audio_out_rtunes,
NULL
};