Lines Matching refs:chan_allocation

245 	enum bt_audio_location chan_allocation = BT_AUDIO_LOCATION_FRONT_RIGHT;  in ZTEST()  local
248 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
250 zassert_equal(chan_allocation, BT_AUDIO_LOCATION_FRONT_LEFT, "unexpected return value %d", in ZTEST()
251 chan_allocation); in ZTEST()
257 enum bt_audio_location chan_allocation; in ZTEST() local
260 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, true); in ZTEST()
262 zassert_equal(chan_allocation, BT_AUDIO_LOCATION_MONO_AUDIO, "unexpected return value %d", in ZTEST()
263 chan_allocation); in ZTEST()
269 enum bt_audio_location chan_allocation; in ZTEST() local
272 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, false); in ZTEST()
279 enum bt_audio_location chan_allocation; in ZTEST() local
282 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, true); in ZTEST()
289 enum bt_audio_location chan_allocation; in ZTEST() local
292 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, false); in ZTEST()
300 enum bt_audio_location chan_allocation; in ZTEST() local
303 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
305 zassert_equal(chan_allocation, 0x00000001, "Unexpected chan_allocation value %d", in ZTEST()
306 chan_allocation); in ZTEST()
308 chan_allocation = BT_AUDIO_LOCATION_FRONT_RIGHT | BT_AUDIO_LOCATION_SIDE_RIGHT | 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()
315 zassert_equal(chan_allocation, 0x8080802, "Unexpected chan_allocation value %d", in ZTEST()
316 chan_allocation); in ZTEST()