openbsd-ports/x11/mplayer/patches/patch-libao2_audio_out_c
jakemsr a635a0e257 add support for librtunes-0.7. this allows one to stream audio output
from mplayer to AirPort Express devices.  supports both IPv4 and IPv6.

example:

$ mplayer -ao rtunes:device=192.168.0.10:af=inet music.mp3

requested/tested/ok mglocker@ (librtunes author)
2008-02-12 11:33:16 +00:00

20 lines
604 B
Plaintext

$OpenBSD: patch-libao2_audio_out_c,v 1.1 2008/02/12 11:33:16 jakemsr Exp $
--- libao2/audio_out.c.orig Sun Oct 7 12:49:27 2007
+++ libao2/audio_out.c Sun Feb 10 17:00:56 2008
@@ -74,6 +74,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[] =
{
@@ -140,6 +141,7 @@ ao_functions_t* audio_out_drivers[] =
&audio_out_null,
// should not be auto-selected:
&audio_out_pcm,
+ &audio_out_rtunes,
NULL
};