summaryrefslogtreecommitdiffstats
path: root/polyp/module-protocol-stub.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-28 22:47:48 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-28 22:47:48 +0000
commit6f59ae1763ee48f27448a7de9d635f61886052e1 (patch)
treee83ab47226b6c716c200e9fa40f44668997eb642 /polyp/module-protocol-stub.c
parent450ad85b35bd600ed020f7ec119d51e7e7bc01a4 (diff)
Add module-tunnel
add proper locking when autospawning a daemon git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@245 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/module-protocol-stub.c')
-rw-r--r--polyp/module-protocol-stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/module-protocol-stub.c b/polyp/module-protocol-stub.c
index 17c491de..fc1e9fd9 100644
--- a/polyp/module-protocol-stub.c
+++ b/polyp/module-protocol-stub.c
@@ -37,6 +37,7 @@
#include "util.h"
#include "modargs.h"
#include "log.h"
+#include "native-common.h"
PA_MODULE_AUTHOR("Lennart Poettering")
PA_MODULE_VERSION(PACKAGE_VERSION)
@@ -72,7 +73,7 @@ PA_MODULE_VERSION(PACKAGE_VERSION)
#include "protocol-native.h"
#define protocol_new pa_protocol_native_new
#define protocol_free pa_protocol_native_free
- #define IPV4_PORT 4713
+ #define IPV4_PORT PA_NATIVE_DEFAULT_PORT
#define UNIX_SOCKET "/tmp/polypaudio/native"
#define MODULE_ARGUMENTS "public", "cookie",
PA_MODULE_DESCRIPTION("Native protocol "SOCKET_DESCRIPTION)