diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-08-31 18:04:33 +0200 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-03-28 14:40:59 +0530 |
commit | b30bf121d20dd2bacf4577f52f9bae4ff86bc2c8 (patch) | |
tree | bf986aff31fd66d7c7a1aaadd97385ac88a79f7e /src/pulsecore/pid.h | |
parent | 1c2669452b325eb59ebfdfb955c187a2b7e8a7f0 (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/pid.h')
0 files changed, 0 insertions, 0 deletions