android/hal-audio: Add support to control audio quality

System Internals / BlueZ - Andrzej Kaczmarek [tieto.com] - 17 April 2014 02:01 UTC

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.

3643543 android/hal-audio: Add support to control audio quality
android/hal-audio.c | 83 +++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 67 insertions(+), 16 deletions(-)

Upstream: git.kernel.org


  • Share