Home
last modified time | relevance | path

Searched refs:max_bitpool (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/bluetooth/audio/aidl/default/
DA2dpOffloadCodecSbc.cpp368 uint8_t max_bitpool = config.get(kMaximumBitpool); in ParseConfiguration() local
369 if (max_bitpool < 2 || max_bitpool > 250) in ParseConfiguration()
371 if (max_bitpool > lcaps.get(kMaximumBitpool)) in ParseConfiguration()
382 codec_parameters->maxBitrate = GetBitrate(config, max_bitpool); in ParseConfiguration()
390 sbc_parameters->max_bitpool = max_bitpool; in ParseConfiguration()
480 uint8_t max_bitpool = rcaps.get(kMaximumBitpool); in BuildConfiguration() local
482 if (min_bitpool < 2 || min_bitpool > 250 || max_bitpool < 2 || in BuildConfiguration()
483 max_bitpool > 250 || min_bitpool > max_bitpool) { in BuildConfiguration()
485 max_bitpool = 250; in BuildConfiguration()
489 max_bitpool = std::max(max_bitpool, uint8_t(lcaps.get(kMaximumBitpool))); in BuildConfiguration()
[all …]
DA2dpOffloadCodecSbc.h30 int max_bitpool; member
/hardware/qcom/audio/hal/audio_extn/
Da2dp.c485 uint8_t max_bitpool; /* 53(44.1khz), 51 (48khz) */ member