Home
last modified time | relevance | path

Searched refs:codec_config_ (Results 1 – 8 of 8) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_vendor_aptx.cc631 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
665 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
671 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
678 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
689 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
705 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
715 &result_config_cie, &codec_config_)) { in setCodecConfig()
722 &result_config_cie, &codec_config_)) { in setCodecConfig()
728 &codec_config_)) { in setCodecConfig()
732 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
[all …]
Da2dp_vendor_aptx_hd.cc649 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
683 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
689 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
696 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
707 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
723 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
733 &result_config_cie, &codec_config_)) { in setCodecConfig()
740 &result_config_cie, &codec_config_)) { in setCodecConfig()
746 &codec_config_)) { in setCodecConfig()
750 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
[all …]
Da2dp_vendor_ldac.cc361 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac() local
363 switch (codec_config_.codec_specific_1 % 10) { in A2DP_VendorGetBitRateLdac()
964 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
998 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1004 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1011 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1018 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1025 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1032 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1039 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
[all …]
Da2dp_aac.cc1001 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
1057 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1063 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1070 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1077 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1084 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1093 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1117 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
1131 &result_config_cie, &codec_config_)) { in setCodecConfig()
1138 &result_config_cie, &codec_config_)) { in setCodecConfig()
[all …]
Da2dp_sbc.cc1087 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
1140 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1146 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1153 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1164 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1180 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
1190 &result_config_cie, &codec_config_)) { in setCodecConfig()
1197 &result_config_cie, &codec_config_)) { in setCodecConfig()
1203 &codec_config_)) { in setCodecConfig()
1207 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
[all …]
Da2dp_codec_config.cc65 init_btav_a2dp_codec_config(&codec_config_, codec_index_, codecPriority()); in A2dpCodecConfig()
92 codec_config_.codec_priority = codec_priority_; in setCodecPriority()
103 codec_config_.codec_priority = codec_priority_; in setDefaultCodecPriority()
211 if (codec_config_.codec_specific_1 == 0) { // default is 0, ABR in getCodecSpecificConfig()
215 switch (codec_config_.codec_specific_1 % 10) { in getCodecSpecificConfig()
266 return codec_config_; in getCodecConfig()
305 switch (codec_config_.bits_per_sample) { in getAudioBitsPerSample()
/system/bt/btif/co/
Dbta_av_co.cc168 codec_config_{}, in BtaAvCo()
688 uint8_t codec_config_[AVDT_CODEC_SIZE]; // Current codec configuration member in BtaAvCo
765 memset(codec_config_, 0, sizeof(codec_config_)); in Reset()
1400 memset(codec_config_, 0, sizeof(codec_config_)); in SetActivePeer()
1411 memcpy(codec_config_, active_peer_->codec_config, AVDT_CODEC_SIZE); in SetActivePeer()
1413 A2DP_CodecInfoString(codec_config_).c_str()); in SetActivePeer()
1447 return A2DP_GetEncoderInterface(codec_config_); in GetSourceEncoderInterface()
1453 return A2DP_GetDecoderInterface(codec_config_); in GetSinkDecoderInterface()
1971 memcpy(codec_config_, new_codec_config, sizeof(codec_config_)); in SaveNewCodecConfig()
/system/bt/stack/include/
Da2dp_codec_api.h264 btav_a2dp_codec_config_t codec_config_; variable