Commit: 61244c0c2f5694a344d76d5feb722e82327cd9cf
Parent: 97801670b884f1b93d98e702c716eb6e7f3be47b
Author: Pali Rohár <pali.rohar@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2019-01-31 12:42:07
Tree: 753d8d68ff68cdb22b4433a01dac0af34074519a

a2dp-codecs: Fix SBC_MAX_BITPOOL and add SBC quality modes According to A2DP specification; section SBC; Codec Specific Information Elements; Minimum / Maximum Bitpool Value, range for Bitpool value is from 2 to 250. A2DP specification also defines bitpool values for two SBC modes: Middle Quality and High Quality. They depends on channel mode and frequency. So add definitions for them into a2dp-codecs file too. File android/hal-audio-sbc.c was updated to use High Quality mode for chosen frequency.

Diffstat

M android/hal-audio-sbc.c | 6 +++- - -
M profiles/audio/a2dp-codecs.h | 16 +++++++++++++++-

2 files changed, 18 insertions(+), 4 deletions(-)

View Full Diff | Patch