summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/pstream-util.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-08-31 18:04:33 +0200
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-03-28 14:40:59 +0530
commitb30bf121d20dd2bacf4577f52f9bae4ff86bc2c8 (patch)
treebf986aff31fd66d7c7a1aaadd97385ac88a79f7e /src/pulsecore/pstream-util.c
parent1c2669452b325eb59ebfdfb955c187a2b7e8a7f0 (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/pstream-util.c')
0 files changed, 0 insertions, 0 deletions