Searched refs:codec_config_ (Results 1 – 8 of 8) sorted by relevance
/system/bt/stack/a2dp/ |
D | a2dp_vendor_aptx.cc | 624 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() 658 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 664 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 671 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 682 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 698 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig() 708 &result_config_cie, &codec_config_)) { in setCodecConfig() 715 &result_config_cie, &codec_config_)) { in setCodecConfig() 721 &codec_config_)) { in setCodecConfig() 725 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 642 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() 676 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 682 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 689 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 700 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 716 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig() 726 &result_config_cie, &codec_config_)) { in setCodecConfig() 733 &result_config_cie, &codec_config_)) { in setCodecConfig() 739 &codec_config_)) { in setCodecConfig() 743 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac.cc | 358 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac() local 360 switch (codec_config_.codec_specific_1 % 10) { in A2DP_VendorGetBitRateLdac() 956 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() 990 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 996 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1003 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1010 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1017 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1024 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1031 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() [all …]
|
D | a2dp_aac.cc | 1025 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() 1061 codec_config_.codec_specific_1 = in setCodecConfig() 1064 codec_config_.codec_specific_1 = in setCodecConfig() 1089 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 1095 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1102 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1109 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1116 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1125 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 1149 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig() [all …]
|
D | a2dp_sbc.cc | 1079 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() 1132 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 1138 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1145 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig() 1156 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig() 1172 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig() 1182 &result_config_cie, &codec_config_)) { in setCodecConfig() 1189 &result_config_cie, &codec_config_)) { in setCodecConfig() 1195 &codec_config_)) { in setCodecConfig() 1199 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig() [all …]
|
D | a2dp_codec_config.cc | 69 init_btav_a2dp_codec_config(&codec_config_, codec_index_, codecPriority()); in A2dpCodecConfig() 96 codec_config_.codec_priority = codec_priority_; in setCodecPriority() 107 codec_config_.codec_priority = codec_priority_; in setDefaultCodecPriority() 221 if (codec_config_.codec_specific_1 == 0) { // default is 0, ABR in getCodecSpecificConfig() 225 switch (codec_config_.codec_specific_1 % 10) { in getCodecSpecificConfig() 277 return codec_config_; in getCodecConfig() 316 switch (codec_config_.bits_per_sample) { in getAudioBitsPerSample()
|
/system/bt/btif/co/ |
D | bta_av_co.cc | 162 codec_config_{}, in BtaAvCo() 686 uint8_t codec_config_[AVDT_CODEC_SIZE]; // Current codec configuration member in BtaAvCo 763 memset(codec_config_, 0, sizeof(codec_config_)); in Reset() 1428 memset(codec_config_, 0, sizeof(codec_config_)); in SetActivePeer() 1439 memcpy(codec_config_, active_peer_->codec_config, AVDT_CODEC_SIZE); in SetActivePeer() 1440 LOG(INFO) << __func__ << ": codec = " << A2DP_CodecInfoString(codec_config_); in SetActivePeer() 1475 return A2DP_GetEncoderInterface(codec_config_); in GetSourceEncoderInterface() 1481 return A2DP_GetDecoderInterface(codec_config_); in GetSinkDecoderInterface() 1996 memcpy(codec_config_, new_codec_config, sizeof(codec_config_)); in SaveNewCodecConfig()
|
/system/bt/stack/include/ |
D | a2dp_codec_api.h | 264 btav_a2dp_codec_config_t codec_config_; variable
|