Lines Matching refs:codec_cfg
147 static void print_codec_cfg(const struct bt_audio_codec_cfg *codec_cfg) in print_codec_cfg() argument
149 printk("codec_cfg 0x%02x cid 0x%04x vid 0x%04x count %u\n", codec_cfg->id, codec_cfg->cid, in print_codec_cfg()
150 codec_cfg->vid, codec_cfg->data_len); in print_codec_cfg()
152 if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in print_codec_cfg()
158 bt_audio_data_parse(codec_cfg->data, codec_cfg->data_len, print_cb, "data"); in print_codec_cfg()
160 ret = bt_audio_codec_cfg_get_freq(codec_cfg); in print_codec_cfg()
165 ret = bt_audio_codec_cfg_get_frame_dur(codec_cfg); in print_codec_cfg()
171 ret = bt_audio_codec_cfg_get_chan_allocation(codec_cfg, &chan_allocation, false); in print_codec_cfg()
177 bt_audio_codec_cfg_get_octets_per_frame(codec_cfg)); in print_codec_cfg()
179 bt_audio_codec_cfg_get_frame_blocks_per_sdu(codec_cfg, true)); in print_codec_cfg()
181 print_hex(codec_cfg->data, codec_cfg->data_len); in print_codec_cfg()
184 bt_audio_data_parse(codec_cfg->meta, codec_cfg->meta_len, print_cb, "meta"); in print_codec_cfg()
306 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() argument
311 print_codec_cfg(codec_cfg); in lc3_config()
338 const struct bt_audio_codec_cfg *codec_cfg, in lc3_reconfig() argument
343 print_codec_cfg(codec_cfg); in lc3_reconfig()
384 ret = bt_audio_codec_cfg_get_freq(stream->codec_cfg); in lc3_enable()
394 ret = bt_audio_codec_cfg_get_frame_dur(stream->codec_cfg); in lc3_enable()
405 bt_audio_codec_cfg_get_frame_blocks_per_sdu(stream->codec_cfg, true); in lc3_enable()