Lines Matching refs:preset
146 const struct bt_bap_lc3_preset preset = in ZTEST() local
151 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
157 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_16_2_1( in ZTEST() local
165 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, false); in ZTEST()
168 ret = bt_audio_codec_cfg_set_frame_blocks_per_sdu(&preset.codec_cfg, frame_blocks); in ZTEST()
171 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, false); in ZTEST()
177 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_16_2_1( in ZTEST() local
181 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
184 ret = bt_audio_codec_cfg_set_freq(&preset.codec_cfg, BT_AUDIO_CODEC_CFG_FREQ_32KHZ); in ZTEST()
187 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
215 const struct bt_bap_lc3_preset preset = in ZTEST() local
220 ret = bt_audio_codec_cfg_get_frame_dur(&preset.codec_cfg); in ZTEST()
226 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_16_2_1( in ZTEST() local
230 ret = bt_audio_codec_cfg_get_frame_dur(&preset.codec_cfg); in ZTEST()
233 ret = bt_audio_codec_cfg_set_frame_dur(&preset.codec_cfg, in ZTEST()
237 ret = bt_audio_codec_cfg_get_frame_dur(&preset.codec_cfg); in ZTEST()
243 const struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_8_1_1( in ZTEST() local
248 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
298 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_16_2_1( in ZTEST() local
303 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
310 err = bt_audio_codec_cfg_set_chan_allocation(&preset.codec_cfg, chan_allocation); in ZTEST()
313 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
321 const struct bt_bap_lc3_preset preset = in ZTEST() local
326 ret = bt_audio_codec_cfg_get_octets_per_frame(&preset.codec_cfg); in ZTEST()
332 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_32_2_2( in ZTEST() local
336 ret = bt_audio_codec_cfg_get_octets_per_frame(&preset.codec_cfg); in ZTEST()
339 ret = bt_audio_codec_cfg_set_octets_per_frame(&preset.codec_cfg, 120); in ZTEST()
342 ret = bt_audio_codec_cfg_get_octets_per_frame(&preset.codec_cfg); in ZTEST()
348 const struct bt_bap_lc3_preset preset = in ZTEST() local
353 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, true); in ZTEST()
395 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_32_2_2( in ZTEST() local
399 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, true); in ZTEST()
402 ret = bt_audio_codec_cfg_set_frame_blocks_per_sdu(&preset.codec_cfg, 2U); in ZTEST()
405 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, true); in ZTEST()