openbsd-ports/x11/mplayer/patches/patch-libao2_audio_out_c
edd b4530c988d New version of mplayer based upon a snapshot (20090708).
* fixes some flv playback
  * removed ggi output - broken i386/sparc64.
  * removed gui (deprecated) - use gnome-mplayer instead.
  * removed win32 codecs - opensource codecs are good quality.

OK, naddy@, sthen@
2009-10-11 13:36:23 +00:00

38 lines
1.3 KiB
Plaintext

$OpenBSD: patch-libao2_audio_out_c,v 1.3 2009/10/11 13:36:23 edd Exp $
--- libao2/audio_out.c.orig Mon May 4 07:53:47 2009
+++ libao2/audio_out.c Fri Jul 10 10:56:55 2009
@@ -43,6 +43,7 @@ extern const ao_functions_t audio_out_alsa5;
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
};