OSDN Git Service

android/hal-audio: Calculate SBC stream parameters
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Wed, 22 Jan 2014 10:34:48 +0000 (11:34 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 23 Jan 2014 09:34:19 +0000 (11:34 +0200)
commitd7bf6c3c9deee3716443d136f80e3197b3c96157
tree2995737427e744982f41b52f6937f8a79d3cc955
parent0551b9eca7a6550cc1df6f78e54b56fe6388ae24
android/hal-audio: Calculate SBC stream parameters

This patch adds necessary calculations for SBC stream parameters.

Both input and output buffers are expected to have exact amount of
data to fill single media packet (based on transport channel MTU).

Frame duration will be used to synchronize input and output streams.
android/hal-audio.c