OSDN Git Service

android/hal-audio: Add support to control audio quality
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Wed, 16 Apr 2014 23:50:37 +0000 (01:50 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 17 Apr 2014 07:01:58 +0000 (10:01 +0300)
commit364354381e7bb6311b2d2e6e17998d2f5f059221
tree346ae11aa092f2027952698cf3e4ad727f5fbeb4
parentae8c25313e9cc755cd8bc70b7be54961b440e274
android/hal-audio: Add support to control audio quality

This patch adds new codec abstraction call which can be used to adjust
audio quality while playing. As for now we can either decrease quality
or restore default one.

It's up to actual codec capabilities and implementation how this can be
handled. In case of SBC bitpool is decreased by fixed amount (5) until
min allowable value is reached (33) - the same values are used in
PulseAudio.
android/hal-audio.c