summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-12 19:34:12 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-12 19:34:12 +0100
commitb9e96e00cf56d2bc979b986926c77df04db9f6ff (patch)
tree2394e5821f6efb17f6243d15c192653662ff4f92 /src
parent947a8289432ef6e31f7ddd04b6351334a6ff7a63 (diff)
for record streams fill in the latency as the fragsize
Diffstat (limited to 'src')
-rw-r--r--src/utils/pacat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/pacat.c b/src/utils/pacat.c
index b1e0d1f4..2d88e7f9 100644
--- a/src/utils/pacat.c
+++ b/src/utils/pacat.c
@@ -278,6 +278,7 @@ static void context_state_callback(pa_context *c, void *userdata) {
buffer_attr.minreq = (uint32_t) process_time;
buffer_attr.maxlength = (uint32_t) -1;
buffer_attr.prebuf = (uint32_t) -1;
+ buffer_attr.fragsize = (uint32_t) latency;
flags |= PA_STREAM_ADJUST_LATENCY;
}