/system/bt/stack/a2dp/ |
D | a2dp_sbc.cc | 833 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 837 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 855 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigSbcSource() 858 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 861 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 864 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigSbcSource() 981 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 986 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 991 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 996 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() [all …]
|
D | a2dp_vendor_ldac.cc | 538 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 541 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 571 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigLdac() 574 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigLdac() 577 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigLdac() 773 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 778 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 783 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 798 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 802 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() [all …]
|
D | a2dp_vendor_aptx.cc | 434 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAptx() 437 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAptx() 555 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 560 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 575 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 579 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 586 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 775 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() 776 switch (codec_user_config_.channel_mode) { in setCodecConfig() 780 codec_capability_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 451 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAptxHd() 454 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAptxHd() 572 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 577 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 592 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 596 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 603 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 793 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() 794 switch (codec_user_config_.channel_mode) { in setCodecConfig() 798 codec_capability_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig() [all …]
|
D | a2dp_aac.cc | 717 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in build_codec_config() 719 result->channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in build_codec_config() 743 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in A2dpCodecConfigAacSource() 746 codec_local_capability_.channel_mode |= BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in A2dpCodecConfigAacSource() 920 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_best_channel_mode() 925 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_best_channel_mode() 940 switch (p_codec_audio_config->channel_mode) { in select_audio_channel_mode() 944 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in select_audio_channel_mode() 951 p_codec_config->channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in select_audio_channel_mode() 1210 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig() [all …]
|
D | a2dp_vendor_ldac_encoder.cc | 69 int eqmid, int channel_mode, 118 uint8_t channel_mode; member 390 p_encoder_params->channel_mode = in a2dp_vendor_ldac_encoder_update() 486 p_encoder_params->channel_mode, in a2dp_vendor_ldac_encoder_update() 495 p_encoder_params->channel_mode, p_encoder_params->pcm_fmt, in a2dp_vendor_ldac_encoder_update()
|
D | a2dp_codec_config.cc | 314 (codec_config.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE) && in isCodecConfigEmpty() 359 (saved_codec_config.channel_mode != new_codec_config.channel_mode)) { in setCodecUserConfig() 395 (codec_config.channel_mode != BTAV_A2DP_CODEC_CHANNEL_MODE_NONE); in codecConfigIsValid() 409 result.append(codecChannelMode2Str(codec_config.channel_mode)); in codecConfig2Str() 966 (codec_capability.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE)) { in getCodecConfigAndCapabilities()
|
D | a2dp_aac_encoder.cc | 55 uint8_t channel_mode; member 230 p_encoder_params->channel_mode = A2DP_GetChannelModeCodeAac(p_codec_info); in a2dp_aac_encoder_update() 258 p_encoder_params->sample_rate, p_encoder_params->channel_mode); in a2dp_aac_encoder_update()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid_audio_source.cc | 169 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 170 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO; in hearing_aid_recv_ctrl_data() 181 reinterpret_cast<const uint8_t*>(&codec_config.channel_mode), in hearing_aid_recv_ctrl_data() 193 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in hearing_aid_recv_ctrl_data() 203 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in hearing_aid_recv_ctrl_data() 224 reinterpret_cast<uint8_t*>(&codec_config.channel_mode), in hearing_aid_recv_ctrl_data() 234 << "channel_mode=" << codec_config.channel_mode; in hearing_aid_recv_ctrl_data()
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 202 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 205 codec_capability.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 222 reinterpret_cast<const uint8_t*>(&codec_config.channel_mode), in btif_a2dp_recv_ctrl_data() 234 reinterpret_cast<const uint8_t*>(&codec_capability.channel_mode), in btif_a2dp_recv_ctrl_data() 243 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in btif_a2dp_recv_ctrl_data() 264 reinterpret_cast<uint8_t*>(&codec_config.channel_mode), in btif_a2dp_recv_ctrl_data() 276 codec_config.channel_mode); in btif_a2dp_recv_ctrl_data()
|
D | btif_a2dp_audio_interface.cc | 183 codec_config.channel_mode; in btif_a2dp_get_codec_configuration()
|
/system/bt/include/hardware/ |
D | bt_av.h | 126 btav_a2dp_codec_channel_mode_t channel_mode; member 206 (channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE), in ToString() 209 (channel_mode & BTAV_A2DP_CODEC_CHANNEL_MODE_MONO), in ToString() 212 (channel_mode & BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO), in ToString()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 526 if (ha_ctrl_receive(common, &codec_config->channel_mode, in ha_read_output_audio_config() 540 if (ha_ctrl_receive(common, &codec_capability->channel_mode, in ha_read_output_audio_config() 595 switch (codec_config->channel_mode) { in ha_read_output_audio_config() 606 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); in ha_read_output_audio_config() 621 codec_config->channel_mode); in ha_read_output_audio_config() 632 codec_config->bits_per_sample, codec_config->channel_mode); in ha_read_output_audio_config() 638 codec_capability->channel_mode); in ha_read_output_audio_config() 653 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in ha_write_output_audio_config() 705 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in ha_write_output_audio_config() 709 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in ha_write_output_audio_config() [all …]
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 545 if (a2dp_ctrl_receive(common, &codec_config->channel_mode, in a2dp_read_output_audio_config() 559 if (a2dp_ctrl_receive(common, &codec_capability->channel_mode, in a2dp_read_output_audio_config() 608 switch (codec_config->channel_mode) { in a2dp_read_output_audio_config() 619 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); in a2dp_read_output_audio_config() 634 codec_config->channel_mode); in a2dp_read_output_audio_config() 645 codec_config->bits_per_sample, codec_config->channel_mode); in a2dp_read_output_audio_config() 651 codec_capability->channel_mode); in a2dp_read_output_audio_config() 666 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in a2dp_write_output_audio_config() 712 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in a2dp_write_output_audio_config() 716 codec_config.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_MONO; in a2dp_write_output_audio_config() [all …]
|