From 4e8ceae064758bc5ea8b541e8c7ceb804fc48d5d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 31 Mar 2009 22:16:53 +0200 Subject: fix buffer defaults --- src/modules/module-tunnel.c | 6 +++--- 1 file 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()); -- cgit