[pulseaudio-commits] r1861 - in /branches/lennart/src: Makefile.am modules/rtp/module-rtp-send.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue Sep 18 15:25:19 PDT 2007


Author: lennart
Date: Wed Sep 19 00:25:18 2007
New Revision: 1861

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1861&root=pulseaudio&view=rev
Log:
make rtp send socket low delay

Modified:
    branches/lennart/src/Makefile.am
    branches/lennart/src/modules/rtp/module-rtp-send.c

Modified: branches/lennart/src/Makefile.am
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/Makefile.am?rev=1861&root=pulseaudio&r1=1860&r2=1861&view=diff
==============================================================================
--- branches/lennart/src/Makefile.am (original)
+++ branches/lennart/src/Makefile.am Wed Sep 19 00:25:18 2007
@@ -1344,7 +1344,7 @@
 # RTP modules
 module_rtp_send_la_SOURCES = modules/rtp/module-rtp-send.c
 module_rtp_send_la_LDFLAGS = -module -avoid-version
-module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la
+module_rtp_send_la_LIBADD = $(AM_LIBADD) libpulsecore.la librtp.la libsocket-util.la
 module_rtp_send_la_CFLAGS = $(AM_CFLAGS)
 
 module_rtp_recv_la_SOURCES = modules/rtp/module-rtp-recv.c

Modified: branches/lennart/src/modules/rtp/module-rtp-send.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/rtp/module-rtp-send.c?rev=1861&root=pulseaudio&r1=1860&r2=1861&view=diff
==============================================================================
--- branches/lennart/src/modules/rtp/module-rtp-send.c (original)
+++ branches/lennart/src/modules/rtp/module-rtp-send.c Wed Sep 19 00:25:18 2007
@@ -49,6 +49,7 @@
 #include <pulsecore/namereg.h>
 #include <pulsecore/sample-util.h>
 #include <pulsecore/macro.h>
+#include <pulsecore/socket-util.h>
 
 #include "module-rtp-send-symdef.h"
 
@@ -280,6 +281,7 @@
 
     /* If the socket queue is full, let's drop packets */
     pa_make_nonblock_fd(fd);
+    pa_socket_udp_low_delay(fd);
 
     pa_source_output_new_data_init(&data);
     data.name = "RTP Monitor Stream";




More information about the pulseaudio-commits mailing list