Lines Matching refs:codec_cfg
92 struct bt_audio_codec_cfg codec_cfg; member
176 struct bt_audio_codec_cfg codec_cfg; member
674 const struct bt_audio_codec_cfg *codec_cfg) in print_codec_cfg() argument
677 codec_cfg->id, codec_cfg->cid, codec_cfg->vid, codec_cfg->data_len); in print_codec_cfg()
685 if (codec_cfg->data_len == 0U) { in print_codec_cfg()
687 } else if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in print_codec_cfg()
691 ret = bt_audio_codec_cfg_get_freq(codec_cfg); in print_codec_cfg()
696 ret = bt_audio_codec_cfg_get_frame_dur(codec_cfg); in print_codec_cfg()
702 ret = bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &chan_allocation, false); in print_codec_cfg()
707 ret = bt_audio_codec_cfg_get_octets_per_frame(codec_cfg); in print_codec_cfg()
712 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(codec_cfg, false); in print_codec_cfg()
719 for (uint8_t i = 0U; i < codec_cfg->data_len; i++) { in print_codec_cfg()
720 shell_fprintf(sh, SHELL_NORMAL, "%*s%02X", indent, "", codec_cfg->data[i]); in print_codec_cfg()
734 if (codec_cfg->meta_len == 0U) { in print_codec_cfg()
740 ret = bt_audio_codec_cfg_meta_get_pref_context(codec_cfg, true); in print_codec_cfg()
745 ret = bt_audio_codec_cfg_meta_get_stream_context(codec_cfg); in print_codec_cfg()
750 ret = bt_audio_codec_cfg_meta_get_program_info(codec_cfg, &data); in print_codec_cfg()
755 ret = bt_audio_codec_cfg_meta_get_lang(codec_cfg, &data); in print_codec_cfg()
760 ret = bt_audio_codec_cfg_meta_get_ccid_list(codec_cfg, &data); in print_codec_cfg()
765 ret = bt_audio_codec_cfg_meta_get_parental_rating(codec_cfg); in print_codec_cfg()
771 ret = bt_audio_codec_cfg_meta_get_audio_active_state(codec_cfg); in print_codec_cfg()
777 ret = bt_audio_codec_cfg_meta_get_bcast_audio_immediate_rend_flag(codec_cfg); in print_codec_cfg()
782 ret = bt_audio_codec_cfg_meta_get_extended(codec_cfg, &data); in print_codec_cfg()
787 ret = bt_audio_codec_cfg_meta_get_vendor(codec_cfg, &data); in print_codec_cfg()
822 struct bt_audio_codec_cfg codec_cfg = { in print_base_subgroup_bis_cb() local
829 err = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, &codec_cfg); in print_base_subgroup_bis_cb()
831 print_codec_cfg(ctx_shell, indent, &codec_cfg); in print_base_subgroup_bis_cb()
857 struct bt_audio_codec_cfg codec_cfg; in print_base_subgroup_cb() local
872 ret = bt_bap_base_subgroup_codec_to_codec_cfg(subgroup, &codec_cfg); in print_base_subgroup_cb()
874 print_codec_cfg(ctx_shell, indent, &codec_cfg); in print_base_subgroup_cb()
946 memcpy(&stream->codec_cfg, &named_preset->preset.codec_cfg, sizeof(stream->codec_cfg)); in copy_unicast_stream_preset()
953 memcpy(&source->codec_cfg, &named_preset->preset.codec_cfg, sizeof(source->codec_cfg)); in copy_broadcast_source_preset()