diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-12 19:34:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-12 20:37:16 +0100 |
commit | 6d12f81d500a68a205e69071d6c5d4cf15d5f031 (patch) | |
tree | e2c04695ffaac7128e79ea1afdcdccf3e6e3dd89 /src/utils | |
parent | 71e8be6eaf5ee889f2d5ddedb30442bce8757d7b (diff) |
for record streams fill in the latency as the fragsize
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/pacat.c | 1 |
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; } |