Searched refs:codec_capability (Results 1 – 7 of 7) sorted by relevance
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 201 btav_a2dp_codec_config_t codec_capability; in btif_a2dp_recv_ctrl_data() local 205 codec_capability.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in btif_a2dp_recv_ctrl_data() 206 codec_capability.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in btif_a2dp_recv_ctrl_data() 207 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 212 codec_capability = current_codec->getCodecCapability(); in btif_a2dp_recv_ctrl_data() 228 reinterpret_cast<const uint8_t*>(&codec_capability.sample_rate), in btif_a2dp_recv_ctrl_data() 232 reinterpret_cast<const uint8_t*>(&codec_capability.bits_per_sample), in btif_a2dp_recv_ctrl_data() 236 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in btif_a2dp_recv_ctrl_data()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid_audio_source.cc | 198 btav_a2dp_codec_config_t codec_capability; in hearing_aid_recv_ctrl_data() local 201 codec_capability.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_16000; in hearing_aid_recv_ctrl_data() 204 codec_capability.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_24000; in hearing_aid_recv_ctrl_data() 210 codec_capability.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; in hearing_aid_recv_ctrl_data() 213 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 228 reinterpret_cast<const uint8_t*>(&codec_capability.sample_rate), in hearing_aid_recv_ctrl_data() 232 reinterpret_cast<const uint8_t*>(&codec_capability.bits_per_sample), in hearing_aid_recv_ctrl_data() 236 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in hearing_aid_recv_ctrl_data()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 508 btav_a2dp_codec_config_t* codec_capability, bool update_stream_config) { in ha_read_output_audio_config() argument 531 if (ha_ctrl_receive(common, &codec_capability->sample_rate, in ha_read_output_audio_config() 535 if (ha_ctrl_receive(common, &codec_capability->bits_per_sample, in ha_read_output_audio_config() 539 if (ha_ctrl_receive(common, &codec_capability->channel_mode, in ha_read_output_audio_config() 636 codec_capability->sample_rate, codec_capability->bits_per_sample, in ha_read_output_audio_config() 637 codec_capability->channel_mode); in ha_read_output_audio_config() 1162 btav_a2dp_codec_config_t codec_capability; in out_get_parameters() local 1175 &codec_capability, in out_get_parameters() 1184 if (codec_capability.bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16) { in out_get_parameters() 1188 if (codec_capability.bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in out_get_parameters() [all …]
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 527 btav_a2dp_codec_config_t* codec_capability, bool update_stream_config) { in a2dp_read_output_audio_config() argument 550 if (a2dp_ctrl_receive(common, &codec_capability->sample_rate, in a2dp_read_output_audio_config() 554 if (a2dp_ctrl_receive(common, &codec_capability->bits_per_sample, in a2dp_read_output_audio_config() 558 if (a2dp_ctrl_receive(common, &codec_capability->channel_mode, in a2dp_read_output_audio_config() 649 codec_capability->sample_rate, codec_capability->bits_per_sample, in a2dp_read_output_audio_config() 650 codec_capability->channel_mode); in a2dp_read_output_audio_config() 1201 btav_a2dp_codec_config_t codec_capability; in out_get_parameters() local 1214 &codec_capability, in out_get_parameters() 1223 if (codec_capability.bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16) { in out_get_parameters() 1227 if (codec_capability.bits_per_sample & BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24) { in out_get_parameters() [all …]
|
/system/bt/audio_hal_interface/ |
D | codec_status.cc | 531 auto codec_capability = preference.codecCapabilities(); in IsCodecOffloadingEnabled() local 532 switch (codec_capability.codecType) { in IsCodecOffloadingEnabled() 534 auto sbc_capability = codec_capability.capabilities.sbcCapabilities(); in IsCodecOffloadingEnabled() 539 auto aac_capability = codec_capability.capabilities.aacCapabilities(); in IsCodecOffloadingEnabled() 546 auto aptx_capability = codec_capability.capabilities.aptxCapabilities(); in IsCodecOffloadingEnabled() 551 auto ldac_capability = codec_capability.capabilities.ldacCapabilities(); in IsCodecOffloadingEnabled() 559 << toString(codec_capability.codecType); in IsCodecOffloadingEnabled()
|
D | client_interface_unittest.cc | 179 CodecCapabilities codec_capability = {}; in IsCodecOffloadingSupported() local 183 codec_capability = audio_capability.codecCapabilities(); in IsCodecOffloadingSupported() 186 if (codec_capability.codecType != codec_config.codecType) { in IsCodecOffloadingSupported() 195 codec_capability.capabilities.sbcCapabilities(); in IsCodecOffloadingSupported() 211 codec_capability.capabilities.aacCapabilities(); in IsCodecOffloadingSupported() 226 codec_capability.capabilities.ldacCapabilities(); in IsCodecOffloadingSupported() 238 codec_capability.capabilities.aptxCapabilities(); in IsCodecOffloadingSupported()
|
/system/bt/stack/a2dp/ |
D | a2dp_codec_config.cc | 974 btav_a2dp_codec_config_t codec_capability = in getCodecConfigAndCapabilities() local 977 if ((codec_capability.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) || in getCodecConfigAndCapabilities() 978 (codec_capability.bits_per_sample == in getCodecConfigAndCapabilities() 980 (codec_capability.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE)) { in getCodecConfigAndCapabilities() 983 codecs_capabilities.push_back(codec_capability); in getCodecConfigAndCapabilities()
|