Lines Matching full:stream

35 	struct bt_bap_stream *stream;  member
43 static uint16_t get_and_incr_seq_num(const struct bt_bap_stream *stream) in get_and_incr_seq_num() argument
46 if (stream == source_streams[i].stream) { in get_and_incr_seq_num()
51 printk("Could not find endpoint from stream %p\n", stream); in get_and_incr_seq_num()
154 * we can use `stream[i]` to select sink streams (i.e. streams with in audio_timer_timeout()
158 struct bt_bap_stream *stream = source_streams[i].stream; in audio_timer_timeout() local
170 ret = bt_bap_stream_send(stream, buf, get_and_incr_seq_num(stream)); in audio_timer_timeout()
173 i, stream, ret); in audio_timer_timeout()
177 len_to_send, i, stream); in audio_timer_timeout()
192 struct bt_bap_stream *stream = &streams[i]; in stream_alloc() local
194 if (!stream->conn) { in stream_alloc()
195 return stream; in stream_alloc()
203 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() argument
210 *stream = stream_alloc(); in lc3_config()
211 if (*stream == NULL) { in lc3_config()
217 printk("ASE Codec Config stream %p\n", *stream); in lc3_config()
220 source_streams[configured_source_stream_count++].stream = *stream; in lc3_config()
228 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() argument
232 printk("ASE Codec Reconfig: stream %p\n", stream); in lc3_reconfig()
242 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() argument
245 printk("QoS: stream %p qos %p\n", stream, qos); in lc3_qos()
252 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() argument
255 printk("Enable: stream %p meta_len %zu\n", stream, meta_len); in lc3_enable()
260 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() argument
262 printk("Start: stream %p\n", stream); in lc3_start()
266 if (source_streams[i].stream == stream) { in lc3_start()
297 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata() argument
300 printk("Metadata: stream %p meta_len %zu\n", stream, meta_len); in lc3_metadata()
305 static int lc3_disable(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_disable() argument
307 printk("Disable: stream %p\n", stream); in lc3_disable()
312 static int lc3_stop(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_stop() argument
314 printk("Stop: stream %p\n", stream); in lc3_stop()
319 static int lc3_release(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_release() argument
321 printk("Release: stream %p\n", stream); in lc3_release()
342 static void stream_recv(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in stream_recv() argument
345 printk("Incoming audio on stream %p len %u\n", stream, buf->len); in stream_recv()