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:
0f363d2
)
null-sink: Set latency range at the time of initialization of module.
author
Sudarshan Bisht
<sudarshan.bisht@nokia.com>
Fri, 30 Sep 2011 09:49:54 +0000
(12:49 +0300)
committer
Colin Guthrie
<colin@mageia.org>
Sat, 1 Oct 2011 12:25:16 +0000
(13:25 +0100)
At the time of module initialization latency range is being set so that the null-sink
would be aware of its limitations with latencies.
src/modules/module-null-sink.c
patch
|
blob
|
history
diff --git
a/src/modules/module-null-sink.c
b/src/modules/module-null-sink.c
index
10868f5
..
454bd3e
100644
(file)
--- a/
src/modules/module-null-sink.c
+++ b/
src/modules/module-null-sink.c
@@
-315,6
+315,8
@@
int pa__init(pa_module*m) {
goto fail;
}
+ pa_sink_set_latency_range(u->sink, 0, BLOCK_USEC);
+
pa_sink_put(u->sink);
pa_modargs_free(ma);