Home
last modified time | relevance | path

Searched refs:sbc_codec (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/classic/
Da2dp_codec_sbc.c19 uint8_t bt_a2dp_sbc_get_channel_num(struct bt_a2dp_codec_sbc_params *sbc_codec) in bt_a2dp_sbc_get_channel_num() argument
21 __ASSERT_NO_MSG(sbc_codec != NULL); in bt_a2dp_sbc_get_channel_num()
23 if (sbc_codec->config[0] & A2DP_SBC_CH_MODE_MONO) { in bt_a2dp_sbc_get_channel_num()
25 } else if (sbc_codec->config[0] & A2DP_SBC_CH_MODE_DUAL) { in bt_a2dp_sbc_get_channel_num()
27 } else if (sbc_codec->config[0] & A2DP_SBC_CH_MODE_STREO) { in bt_a2dp_sbc_get_channel_num()
29 } else if (sbc_codec->config[0] & A2DP_SBC_CH_MODE_JOINT) { in bt_a2dp_sbc_get_channel_num()
36 uint32_t bt_a2dp_sbc_get_sampling_frequency(struct bt_a2dp_codec_sbc_params *sbc_codec) in bt_a2dp_sbc_get_sampling_frequency() argument
38 __ASSERT_NO_MSG(sbc_codec != NULL); in bt_a2dp_sbc_get_sampling_frequency()
40 if (sbc_codec->config[0] & A2DP_SBC_SAMP_FREQ_16000) { in bt_a2dp_sbc_get_sampling_frequency()
42 } else if (sbc_codec->config[0] & A2DP_SBC_SAMP_FREQ_32000) { in bt_a2dp_sbc_get_sampling_frequency()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/classic/
Da2dp_codec_sbc.h110 uint8_t bt_a2dp_sbc_get_channel_num(struct bt_a2dp_codec_sbc_params *sbc_codec);
118 uint32_t bt_a2dp_sbc_get_sampling_frequency(struct bt_a2dp_codec_sbc_params *sbc_codec);