This is based on the existing libalsa-util library.
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
+subdir('rtp')
+
# module name, sources, [headers, extra flags, extra deps, extra libs]
all_modules = [
[ 'module-allow-passthrough', 'module-allow-passthrough.c' ],
--- /dev/null
+librtp_sources = [
+ 'rtp.c',
+ 'sdp.c',
+ 'sap.c',
+ 'rtsp_client.c',
+ 'headerlist.c',
+]
+
+librtp_headers = [
+ 'rtp.h',
+ 'sdp.h',
+ 'sap.h',
+ 'rtsp_client.h',
+ 'headerlist.h',
+]
+
+librtp = shared_library('librtp',
+ librtp_sources,
+ librtp_headers,
+ c_args : [pa_c_args, server_c_args],
+ include_directories : [configinc, topinc],
+ dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep],
+ install : true
+)