projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
947a828
)
for record streams fill in the latency as the fragsize
author
Lennart Poettering
<lennart@poettering.net>
Mon, 12 Jan 2009 18:34:12 +0000
(19:34 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 12 Jan 2009 18:34:12 +0000
(19:34 +0100)
src/utils/pacat.c
patch
|
blob
|
history
diff --git
a/src/utils/pacat.c
b/src/utils/pacat.c
index
b1e0d1f
..
2d88e7f
100644
(file)
--- 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;
}