Searched refs:sink_stream (Results 1 – 7 of 7) sorted by relevance
340 static int lc3_enable(struct broadcast_sink_stream *sink_stream) in lc3_enable() argument348 printk("Enable: stream with codec %p\n", sink_stream->stream.codec_cfg); in lc3_enable()350 ret = bt_audio_codec_cfg_get_freq(sink_stream->stream.codec_cfg); in lc3_enable()358 ret = bt_audio_codec_cfg_get_frame_dur(sink_stream->stream.codec_cfg); in lc3_enable()366 ret = bt_audio_codec_cfg_get_chan_allocation(sink_stream->stream.codec_cfg, in lc3_enable()367 &sink_stream->chan_allocation, true); in lc3_enable()373 ret = bt_audio_codec_cfg_get_octets_per_frame(sink_stream->stream.codec_cfg); in lc3_enable()375 sink_stream->lc3_octets_per_frame = (uint16_t)ret; in lc3_enable()381 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(sink_stream->stream.codec_cfg, true); in lc3_enable()383 sink_stream->lc3_frames_blocks_per_sdu = (uint8_t)ret; in lc3_enable()[all …]
22 struct bt_cap_stream sink_stream; member
143 if (dir == BT_AUDIO_DIR_SINK && peer.sink_stream.bap_stream.ep == NULL) { in stream_alloc()144 return &peer.sink_stream; in stream_alloc()156 } else if (cap_stream == &peer.sink_stream) { in stream_released()204 if (peer.sink_stream.bap_stream.ep != NULL) { in reset_cap_acceptor()
441 bt_cap_stream_ops_register(&peer->sink_stream, &unicast_stream_ops); in init_cap_acceptor_unicast()
56 struct bt_cap_stream sink_stream; member169 } else if (stream == &peer.sink_stream.bap_stream) { in unicast_stream_released_cb()296 bt_cap_stream_ops_register(&peer.sink_stream, &unicast_stream_ops); in discover_sinks()345 .stream = &peer.sink_stream.bap_stream, in unicast_group_create()452 stream_param[param.count].stream = &peer.sink_stream; in unicast_audio_start()779 if (peer.sink_stream.bap_stream.ep != NULL) { in reset_cap_initiator()
305 struct bt_bap_stream *sink_stream = NULL; in transceive_test_streams() local334 if (info.dir == BT_AUDIO_DIR_SINK && sink_stream == NULL) { in transceive_test_streams()335 sink_stream = stream; in transceive_test_streams()351 if (sink_stream != NULL) { in transceive_test_streams()
746 struct bt_bap_stream *sink_stream; in connect_streams() local753 sink_stream = pair_params[0].tx_param == NULL ? NULL : pair_params[0].tx_param->stream; in connect_streams()757 if (sink_stream != NULL) { in connect_streams()758 const int err = connect_stream(sink_stream); in connect_streams()821 struct bt_bap_stream *sink_stream; in transceive_streams() local824 sink_stream = pair_params[0].tx_param == NULL ? NULL : pair_params[0].tx_param->stream; in transceive_streams()826 if (sink_stream != NULL) { in transceive_streams()828 audio_test_stream_from_bap_stream(sink_stream); in transceive_streams()