summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/random.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-08-31 18:04:33 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2010-09-02 17:31:37 +0200
commitd18cae458f0aabfeb4a36d82c60a00422fc98c69 (patch)
tree9edfd7aa592da2a73c1d6305e9395dac44501a0a /src/pulsecore/random.c
parent1983337f0ea7008903b2a1327d4d9ce9f7b69392 (diff)
echo-cancel: keep frame_size a power of 2
The speex echo canceler prefers a power of 2 for the frame size. Round down the ideal frame_size to the nearest power of two. This makes sure we don't create more than the requested frame_size_ms latency while still providing a power of 2 to the speex echo canceller.
Diffstat (limited to 'src/pulsecore/random.c')
0 files changed, 0 insertions, 0 deletions