diff options
author | Sudarshan Bisht <sudarshan.bisht@nokia.com> | 2011-09-30 12:49:54 +0300 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-10-08 15:16:18 +0530 |
commit | 87f70c6a1d3504e34bbd9c53476f41adcebc1b8f (patch) | |
tree | b4d09c78f3aab3fb95653272c2fcb19adf1f4a7e | |
parent | 37e76bd36faa5164c069c80a6b90f6161ccb2abb (diff) |
null-sink: Set latency range at the time of initialization of module.
At the time of module initialization latency range is being set so that the null-sink
would be aware of its limitations with latencies.
-rw-r--r-- | src/modules/module-null-sink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/module-null-sink.c b/src/modules/module-null-sink.c index 10868f5c..454bd3e4 100644 --- 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); |