Home
last modified time | relevance | path

Searched refs:channel_mode (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/bluetooth/audio/aidl/default/
DA2dpOffloadCodecSbc.cpp146 static int GetChannelModeBit(ChannelMode channel_mode) { in GetChannelModeBit() argument
147 switch (channel_mode) { in GetChannelModeBit()
159 static ChannelMode GetChannelModeEnum(int channel_mode) { in GetChannelModeEnum() argument
160 switch (channel_mode) { in GetChannelModeEnum()
338 int channel_mode = config.find_active_bit(kChannelMode); in ParseConfiguration() local
339 if (channel_mode < 0) return A2dpStatus::INVALID_CHANNEL_MODE; in ParseConfiguration()
340 if (!lcaps.get(channel_mode)) return A2dpStatus::NOT_SUPPORTED_CHANNEL_MODE; in ParseConfiguration()
376 codec_parameters->channelMode = GetChannelModeEnum(channel_mode); in ParseConfiguration()
DA2dpOffloadCodecAac.cpp171 static int GetChannelsBit(ChannelMode channel_mode) { in GetChannelsBit() argument
172 switch (channel_mode) { in GetChannelsBit()
182 static ChannelMode GetChannelModeEnum(int channel_mode) { in GetChannelModeEnum() argument
183 switch (channel_mode) { in GetChannelModeEnum()
DLeAudioSoftwareAudioProvider.cpp36 inline uint32_t channel_mode_to_channel_count(ChannelMode channel_mode) { in channel_mode_to_channel_count() argument
37 switch (channel_mode) { in channel_mode_to_channel_count()
/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
DVtsHalBluetoothAudioV2_1TargetTest.cpp440 for (auto channel_mode : a2dp_channel_modes) { in TEST_P() local
441 pcm_parameters.channelMode = channel_mode; in TEST_P()
526 for (auto channel_mode : channel_modes) { in GetSbcCodecSpecificSupportedList() local
532 .channelMode = channel_mode, in GetSbcCodecSpecificSupportedList()
584 for (auto channel_mode : channel_modes) { in GetAacCodecSpecificSupportedList() local
589 .channelMode = channel_mode, in GetAacCodecSpecificSupportedList()
630 for (auto channel_mode : channel_modes) { in GetLdacCodecSpecificSupportedList() local
634 .channelMode = channel_mode, in GetLdacCodecSpecificSupportedList()
673 for (auto channel_mode : channel_modes) { in GetAptxCodecSpecificSupportedList() local
676 .channelMode = channel_mode, in GetAptxCodecSpecificSupportedList()
[all …]
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp353 for (auto channel_mode : a2dp_channel_modes) { in TEST_P() local
354 pcm_parameters.channelMode = channel_mode; in TEST_P()
437 for (auto channel_mode : channel_modes) { in GetSbcCodecSpecificSupportedList() local
443 .channelMode = channel_mode, in GetSbcCodecSpecificSupportedList()
493 for (auto channel_mode : channel_modes) { in GetAacCodecSpecificSupportedList() local
498 .channelMode = channel_mode, in GetAacCodecSpecificSupportedList()
537 for (auto channel_mode : channel_modes) { in GetLdacCodecSpecificSupportedList() local
541 .channelMode = channel_mode, in GetLdacCodecSpecificSupportedList()
578 for (auto channel_mode : channel_modes) { in GetAptxCodecSpecificSupportedList() local
581 .channelMode = channel_mode, in GetAptxCodecSpecificSupportedList()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Da2dp.c378 uint32_t channel_mode; member
454 uint16_t channel_mode; member
534 uint16_t channel_mode; /* 0, 4, 2, 1 */ member
1024 sbc_dsp_cfg.channel_mode = MEDIA_FMT_SBC_CHANNEL_MODE_MONO; in configure_sbc_enc_format()
1027 sbc_dsp_cfg.channel_mode = MEDIA_FMT_SBC_CHANNEL_MODE_DUAL_MONO; in configure_sbc_enc_format()
1030 sbc_dsp_cfg.channel_mode = MEDIA_FMT_SBC_CHANNEL_MODE_JOINT_STEREO; in configure_sbc_enc_format()
1034 sbc_dsp_cfg.channel_mode = MEDIA_FMT_SBC_CHANNEL_MODE_STEREO; in configure_sbc_enc_format()
1059 if (sbc_dsp_cfg.channel_mode == MEDIA_FMT_SBC_CHANNEL_MODE_MONO) in configure_sbc_enc_format()
1065 __func__, sbc_dsp_cfg.sample_rate, sbc_dsp_cfg.channel_mode); in configure_sbc_enc_format()
1287 ldac_dsp_cfg.ldac_cfg.channel_mode = ldac_bt_cfg->channel_mode; in configure_ldac_enc_format()
[all …]
/hardware/interfaces/bluetooth/audio/aidl/vts/
DVtsHalBluetoothAudioTargetTest.cpp415 for (auto channel_mode : sbc_capability.channelMode) { in GetSbcCodecSpecificSupportedList() local
419 .channelMode = channel_mode, in GetSbcCodecSpecificSupportedList()
470 for (auto channel_mode : aac_capability.channelMode) { in GetAacCodecSpecificSupportedList() local
478 .channelMode = channel_mode, in GetAacCodecSpecificSupportedList()
516 for (auto channel_mode : ldac_capability.channelMode) { in GetLdacCodecSpecificSupportedList() local
519 .channelMode = channel_mode, in GetLdacCodecSpecificSupportedList()
559 for (auto channel_mode : aptx_capability.channelMode) { in GetAptxCodecSpecificSupportedList() local
561 .channelMode = channel_mode, in GetAptxCodecSpecificSupportedList()
595 for (auto channel_mode : opus_capability->channelMode) { in GetOpusCodecSpecificSupportedList() local
599 .channelMode = channel_mode, in GetOpusCodecSpecificSupportedList()
[all …]
/hardware/broadcom/libbt/include/
Duipc_msg.h555 uint8_t channel_mode; member
587 uint8_t channel_mode; /* 0x02:mono, 0x01:dual */ member
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DHidlToAidlMiddleware.cpp235 inline ChannelMode_2_0 to_hidl_channel_mode(const ChannelMode channel_mode) { in to_hidl_channel_mode() argument
236 switch (channel_mode) { in to_hidl_channel_mode()