OSDN Git Service

sbc: detect when bitpool has changed
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Wed, 22 Dec 2010 09:35:48 +0000 (11:35 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jul 2012 02:48:29 +0000 (19:48 -0700)
commitfe23ba01ad6904d768e8182f6d40c432d2e070bf
tree5794d882240bed5d71dc9a51fcd5834935c14c28
parent02c84b17fb2a47b0112cb0f10dc26dc91ab74ac9
sbc: detect when bitpool has changed

A2DP spec allow bitpool changes midstream which is why sbc configuration
has a range of values for bitpool that the encoder can use and decoder
must support.

Bitpool changes do not affect the state of encoder/decoder so they don't
need to be reinitialize when this happens, so the impact is fairly small,
what it does change is the frame length so encoders may change the
bitpool to use the link more efficiently.
sbc/sbc.c