Lines Matching refs:default_stream

86 static struct bt_bap_stream *default_stream;  variable
586 default_stream = stream; in set_unicast_stream()
672 if (default_stream == NULL) { in lc3_reconfig()
748 if (stream == default_stream) { in lc3_release()
749 default_stream = NULL; in lc3_release()
1018 if (default_stream == NULL) { in config_cb()
1019 default_stream = stream; in config_cb()
1165 if (default_stream == NULL) { in cmd_config()
1168 bap_stream = default_stream; in cmd_config()
1323 if (default_stream == NULL) { in cmd_stream_qos()
1328 qos = default_stream->qos; in cmd_stream_qos()
1532 if (default_stream == NULL) { in cmd_qos()
1568 if (default_stream == NULL) { in cmd_enable()
1573 codec_cfg = default_stream->codec_cfg; in cmd_enable()
1583 err = bt_bap_stream_enable(default_stream, codec_cfg->meta, codec_cfg->meta_len); in cmd_enable()
1596 if (default_stream == NULL) { in cmd_stop()
1601 err = bt_bap_stream_stop(default_stream); in cmd_stop()
1614 if (default_stream == NULL) { in cmd_connect()
1619 err = bt_bap_stream_connect(default_stream); in cmd_connect()
1634 if (default_stream == NULL) { in cmd_metadata()
1639 codec_cfg = default_stream->codec_cfg; in cmd_metadata()
1649 err = bt_bap_stream_metadata(default_stream, codec_cfg->meta, codec_cfg->meta_len); in cmd_metadata()
1662 if (default_stream == NULL) { in cmd_start()
1667 err = bt_bap_stream_start(default_stream); in cmd_start()
1680 if (default_stream == NULL) { in cmd_disable()
1685 err = bt_bap_stream_disable(default_stream); in cmd_disable()
1749 stream == default_stream ? "*" : " ", i, stream, in cmd_list()
1764 if (default_stream == NULL) { in cmd_release()
1769 err = bt_bap_stream_release(default_stream); in cmd_release()
3266 default_stream = bap_stream_from_shell_stream(&broadcast_source_streams[index]); in cmd_select_broadcast_source()
3360 if (default_stream == NULL) { in cmd_create_broadcast()
3361 default_stream = bap_stream_from_shell_stream(&broadcast_source_streams[0]); in cmd_create_broadcast()
3935 if (default_stream == NULL) { in cmd_send()
3941 if (default_stream->qos == NULL) { in cmd_send()
3949 if (len > default_stream->qos->sdu) { in cmd_send()
3951 len, default_stream->qos->sdu); in cmd_send()
3956 len = MIN(default_stream->qos->sdu, sizeof(data)); in cmd_send()
3965 ret = bt_bap_stream_send(default_stream, buf, get_next_seq_num(default_stream)); in cmd_send()
4018 struct shell_stream *sh_stream = shell_stream_from_bap_stream(default_stream); in cmd_start_sine()
4055 struct shell_stream *sh_stream = shell_stream_from_bap_stream(default_stream); in cmd_stop_sine()