Lines Matching refs:shell_stream
63 struct shell_stream unicast_streams[CONFIG_BT_MAX_CONN *
79 struct shell_stream broadcast_source_streams[CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT];
83 static struct shell_stream broadcast_sink_streams[CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT];
176 struct shell_stream *shell_stream_from_bap_stream(struct bt_bap_stream *bap_stream) in shell_stream_from_bap_stream()
180 struct shell_stream *sh_stream = CONTAINER_OF(cap_stream, struct shell_stream, stream); in shell_stream_from_bap_stream()
185 struct bt_bap_stream *bap_stream_from_shell_stream(struct shell_stream *sh_stream) in bap_stream_from_shell_stream()
195 void bap_foreach_stream(void (*func)(struct shell_stream *sh_stream, void *data), void *data) in bap_foreach_stream()
219 static int get_lc3_chan_alloc_from_index(const struct shell_stream *sh_stream, uint8_t index, in get_lc3_chan_alloc_from_index()
257 struct shell_stream *sh_stream = shell_stream_from_bap_stream(bap_stream); in get_next_seq_num()
296 static int init_lc3_encoder(struct shell_stream *sh_stream) in init_lc3_encoder()
370 static bool encode_frame(struct shell_stream *sh_stream, uint8_t index, size_t frame_cnt, in encode_frame()
414 static size_t encode_frame_block(struct shell_stream *sh_stream, size_t frame_cnt, in encode_frame_block()
432 static void do_lc3_encode(struct shell_stream *sh_stream, struct net_buf *out_buf) in do_lc3_encode()
447 static void lc3_audio_send_data(struct shell_stream *sh_stream) in lc3_audio_send_data()
511 struct shell_stream *sh_stream = shell_stream_from_bap_stream(bap_stream); in lc3_sent_cb()
520 static void encode_and_send_cb(struct shell_stream *sh_stream, void *user_data) in encode_and_send_cb()
815 struct shell_stream *snk_uni_streams[], size_t snk_cnt, in bap_ac_create_unicast_group()
816 struct shell_stream *src_uni_streams[], size_t src_cnt) in bap_ac_create_unicast_group()
1149 struct shell_stream *uni_stream; in cmd_config()
1449 struct shell_stream *uni_stream = &unicast_streams[i]; in set_group_param()
2589 struct shell_stream *sh_stream;
2604 static struct shell_stream *usb_left_stream;
2605 static struct shell_stream *usb_right_stream;
2607 static int init_lc3_decoder(struct shell_stream *sh_stream) in init_lc3_decoder()
2648 const struct shell_stream *sh_stream = data->sh_stream; in decode_frame()
2686 const struct shell_stream *sh_stream = data->sh_stream; in decode_frame_block()
2738 struct shell_stream *sh_stream = data->sh_stream; in do_lc3_decode()
2765 struct shell_stream *sh_stream = data->sh_stream; in lc3_decoder_thread_func()
2785 struct shell_stream *sh_stream = shell_stream_from_bap_stream(stream); in audio_recv()
2915 struct shell_stream *sh_stream = shell_stream_from_bap_stream(bap_stream); in stream_started_cb()
3082 static void update_usb_streams_cb(struct shell_stream *sh_stream, void *user_data) in update_usb_streams_cb()
3099 static void update_usb_streams(struct shell_stream *sh_stream) in update_usb_streams()
3117 static void clear_stream_data(struct shell_stream *sh_stream) in clear_stream_data()
3159 struct shell_stream *sh_stream = shell_stream_from_bap_stream(stream); in stream_stopped_cb()
3175 struct shell_stream *sh_stream = shell_stream_from_bap_stream(stream); in stream_released_cb()
3987 static void start_sine_stream_cb(struct shell_stream *sh_stream, void *user_data) in start_sine_stream_cb()
4025 struct shell_stream *sh_stream = shell_stream_from_bap_stream(default_stream); in cmd_start_sine()
4033 static void stop_sine_stream_cb(struct shell_stream *sh_stream, void *user_data) in stop_sine_stream_cb()
4062 struct shell_stream *sh_stream = shell_stream_from_bap_stream(default_stream); in cmd_stop_sine()