Lines Matching full:stream
48 struct bt_bap_stream *stream; member
125 struct bt_bap_stream *stream = &streams[i]; in stream_alloc() local
127 if (!stream->conn) { in stream_alloc()
128 return stream; in stream_alloc()
136 const struct bt_audio_codec_cfg *codec_cfg, struct bt_bap_stream **stream, in lc3_config() argument
144 *stream = stream_alloc(); in lc3_config()
145 if (*stream == NULL) { in lc3_config()
152 printk("ASE Codec Config stream %p\n", *stream); in lc3_config()
155 source_streams[configured_source_stream_count++].stream = *stream; in lc3_config()
163 static int lc3_reconfig(struct bt_bap_stream *stream, enum bt_audio_dir dir, in lc3_reconfig() argument
167 printk("ASE Codec Reconfig: stream %p\n", stream); in lc3_reconfig()
174 static int lc3_qos(struct bt_bap_stream *stream, const struct bt_bap_qos_cfg *qos, in lc3_qos() argument
177 printk("QoS: stream %p qos %p\n", stream, qos); in lc3_qos()
184 static int lc3_enable(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_enable() argument
187 printk("Enable: stream %p meta_len %zu\n", stream, meta_len); in lc3_enable()
192 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() argument
194 printk("Start: stream %p\n", stream); in lc3_start()
239 static int lc3_metadata(struct bt_bap_stream *stream, const uint8_t meta[], size_t meta_len, in lc3_metadata() argument
248 printk("Metadata: stream %p meta_len %zu\n", stream, meta_len); in lc3_metadata()
256 printk("Stream audio context not present on peer!"); in lc3_metadata()
266 static int lc3_disable(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_disable() argument
268 printk("Disable: stream %p\n", stream); in lc3_disable()
273 static int lc3_stop(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_stop() argument
275 printk("Stop: stream %p\n", stream); in lc3_stop()
280 static int lc3_release(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_release() argument
282 printk("Release: stream %p\n", stream); in lc3_release()
304 static void stream_recv(struct bt_bap_stream *stream, const struct bt_iso_recv_info *info, in stream_recv() argument
308 printk("Incoming audio on stream %p len %u\n", stream, buf->len); in stream_recv()
313 static void stream_enabled(struct bt_bap_stream *stream) in stream_enabled() argument
318 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled()
327 err = bt_bap_stream_start(stream); in stream_enabled()
330 printk("Failed to start stream %p: %d", stream, err); in stream_enabled()