bluetooth: fix a2dp_process_push
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Thu, 23 Dec 2010 13:24:39 +0000 (15:24 +0200)
committerLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Mon, 14 Mar 2011 16:52:29 +0000 (13:52 -0300)
commit97f7c5759e65a700a934790ee0d846a33c4a7f66
tree1ef0c731e44205599ca8676826d1ce0ce1c067af
parent1c388f977a4801202c9d0f07d43b705ab3f83f16
bluetooth: fix a2dp_process_push

Use minimum bitpool configured to get the maximum block_size possible,
also remove checks for how much has been written when decoding sbc frames
since the block size may change due to bitpool changes.
src/modules/bluetooth/module-bluetooth-device.c