o compress filter speed improvements
+ o update to libortp-0.9.1
+
+
0.2.11 (2006-03-11) "atomic duality"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
########################################################################### ortp
have_ortp="yes"
-pkg_modules="glib-2.0 >= 2.0.4"
-PKG_CHECK_MODULES(GLIB, [$pkg_modules], [], [
- have_ortp="no"
-])
-CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
AC_CHECK_HEADERS([ortp/ortp.h], [], [
have_ortp="no"
])
server_errlist_objs="$server_errlist_objs ortp_send"
- recv_ldflags="$recv_ldflags $GLIB_LIBS -lortp"
- server_ldflags="$server_ldflags $GLIB_LIBS -lortp"
- audiod_ldflags="$audiod_ldflags $GLIB_LIBS -lortp"
+ recv_ldflags="$recv_ldflags -lortp"
+ server_ldflags="$server_ldflags -lortp"
+ audiod_ldflags="$audiod_ldflags -lortp"
AC_DEFINE(HAVE_ORTP, 1, [define to 1 to turn on ortp support])
else
*/
/** \file ortp_recv.c paraslash's ortp receiver */
-#include "para.h"
#include <ortp/ortp.h>
+#include "para.h"
#include "ortp.h"
#include "recv.h"
#define CHUNK_SIZE 128 * 1024
-extern gint msg_to_buf(mblk_t *, char *, gint);
+extern int msg_to_buf(mblk_t *, char *, int);
/**
* data specific to the ortp receiver
/** number of consecutive bad chunks */
int c_bad;
/** the current timestamp which is passed to the receiving function of libortp */
-guint32 timestamp;
+uint32_t timestamp;
/** \a timestamp increases by this amount */
-guint32 chunk_ts;
+uint32_t chunk_ts;
};
#if 1
r->parse_config = ortp_recv_parse_config;
ortp_init();
- ortp_set_debug_file("oRTP", NULL);
}
/** \file ortp_send.c para_server's ortp sender */
+#include <ortp/ortp.h>
#include "server.cmdline.h"
#include "server.h"
#include "afs.h"
#include "send.h"
#include "list.h"
-#include <ortp/ortp.h>
#include "ortp.h"
#include "string.h"
void ortp_send_init(struct sender *s)
{
ortp_init();
- ortp_set_debug_file("oRTP", NULL);
INIT_LIST_HEAD(&targets);
s->info = ortp_info;
s->help = ortp_help;