summaryrefslogtreecommitdiffstats
path: root/src/modules/module-tunnel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-31 22:16:53 +0200
committerLennart Poettering <lennart@poettering.net>2009-03-31 22:16:53 +0200
commit4e8ceae064758bc5ea8b541e8c7ceb804fc48d5d (patch)
treef8ffeceb694a424172a110424f8caac9609f7c91 /src/modules/module-tunnel.c
parent76c44d104d8f4ec8729f9601bbad828bd39e253c (diff)
fix buffer defaults
Diffstat (limited to 'src/modules/module-tunnel.c')
-rw-r--r--src/modules/module-tunnel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index 79facddb..1d658ba0 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -1926,11 +1926,11 @@ int pa__init(pa_module*m) {
u->time_event = NULL;
- u->maxlength = 0;
+ u->maxlength = (uint32_t) -1;
#ifdef TUNNEL_SINK
- u->tlength = u->minreq = u->prebuf = 0;
+ u->tlength = u->minreq = u->prebuf = (uint32_t) -1;
#else
- u->fragsize = 0;
+ u->fragsize = (uint32_t) -1;
#endif
pa_smoother_set_time_offset(u->smoother, pa_rtclock_usec());