Home | History | Annotate | Download | only in audio

Lines Matching full:rsp

180 	bt_audio_error_t *rsp = (void *) buf;
186 rsp->h.type = BT_ERROR;
187 rsp->h.name = name;
188 rsp->h.length = sizeof(*rsp);
190 rsp->posix_errno = err;
193 unix_ipc_sendmsg(client, &rsp->h);
283 struct bt_get_capabilities_rsp *rsp = (void *) buf;
293 length = headset_generate_capability(dev, (void *) rsp->data);
295 rsp->h.type = BT_RESPONSE;
296 rsp->h.name = BT_GET_CAPABILITIES;
297 rsp->h.length = sizeof(*rsp) + length;
299 ba2str(&dev->src, rsp->source);
300 ba2str(&dev->dst, rsp->destination);
301 strncpy(rsp->object, dev->path, sizeof(rsp->object));
303 unix_ipc_sendmsg(client, &rsp->h);
316 struct bt_set_configuration_rsp *rsp = (void *) buf;
325 rsp->h.type = BT_RESPONSE;
326 rsp->h.name = BT_SET_CONFIGURATION;
327 rsp->h.length = sizeof(*rsp);
329 rsp->link_mtu = 48;
333 unix_ipc_sendmsg(client, &rsp->h);
346 struct bt_set_configuration_rsp *rsp = (void *) buf;
357 rsp->h.type = BT_RESPONSE;
358 rsp->h.name = BT_SET_CONFIGURATION;
359 rsp->h.length = sizeof(*rsp);
361 rsp->link_mtu = 48;
365 unix_ipc_sendmsg(client, &rsp->h);
372 struct bt_start_stream_rsp *rsp = (void *) buf;
387 rsp->h.type = BT_RESPONSE;
388 rsp->h.name = BT_START_STREAM;
389 rsp->h.length = sizeof(*rsp);
391 unix_ipc_sendmsg(client, &rsp->h);
416 struct bt_start_stream_rsp *rsp = (void *) buf;
425 rsp->h.type = BT_RESPONSE;
426 rsp->h.name = BT_START_STREAM;
427 rsp->h.length = sizeof(*rsp);
429 unix_ipc_sendmsg(client, &rsp->h);
451 struct bt_stop_stream_rsp *rsp = (void *) buf;
457 rsp->h.type = BT_RESPONSE;
458 rsp->h.name = BT_STOP_STREAM;
459 rsp->h.length = sizeof(*rsp);
461 unix_ipc_sendmsg(client, &rsp->h);
521 static int a2dp_append_codec(struct bt_get_capabilities_rsp *rsp,
529 codec_capabilities_t *codec = (void *) rsp + rsp->h.length;
532 if (rsp->h.length > BT_SUGGESTED_BUFFER_SIZE)
535 space_left = BT_SUGGESTED_BUFFER_SIZE - rsp->h.length;
615 rsp->h.length += codec->length;
619 rsp->h.length);
630 struct bt_get_capabilities_rsp *rsp = (void *) buf;
644 rsp->h.type = BT_RESPONSE;
645 rsp->h.name = BT_GET_CAPABILITIES;
646 rsp->h.length = sizeof(*rsp);
647 ba2str(&client->dev->src, rsp->source);
648 ba2str(&client->dev->dst, rsp->destination);
649 strncpy(rsp->object, client->dev->path, sizeof(rsp->object));
696 a2dp_append_codec(rsp, cap, seid, type, configured, lock);
699 unix_ipc_sendmsg(client, &rsp->h);
724 struct bt_set_configuration_rsp *rsp = (void *) buf;
752 rsp->h.type = BT_RESPONSE;
753 rsp->h.name = BT_SET_CONFIGURATION;
754 rsp->h.length = sizeof(*rsp);
757 rsp->link_mtu = omtu;
759 unix_ipc_sendmsg(client, &rsp->h);
783 struct bt_start_stream_rsp *rsp = (void *) buf;
791 rsp->h.type = BT_RESPONSE;
792 rsp->h.name = BT_START_STREAM;
793 rsp->h.length = sizeof(*rsp);
795 unix_ipc_sendmsg(client, &rsp->h);
800 rsp->h.length = sizeof(*ind);
837 struct bt_stop_stream_rsp *rsp = (void *) buf;
843 rsp->h.type = BT_RESPONSE;
844 rsp->h.name = BT_STOP_STREAM;
845 rsp->h.length = sizeof(*rsp);
847 unix_ipc_sendmsg(client, &rsp->h);
908 struct bt_open_rsp *rsp = (void *) buf;
912 rsp->h.type = BT_RESPONSE;
913 rsp->h.name = BT_OPEN;
914 rsp->h.length = sizeof(*rsp);
916 ba2str(&dev->src, rsp->source);
917 ba2str(&dev->dst, rsp->destination);
918 strncpy(rsp->object, dev->path, sizeof(rsp->object));
920 unix_ipc_sendmsg(client, &rsp->h);
1232 struct bt_close_rsp *rsp = (void *) buf;
1236 rsp->h.type = BT_RESPONSE;
1237 rsp->h.name = BT_CLOSE;
1238 rsp->h.length = sizeof(*rsp);
1240 unix_ipc_sendmsg(client, &rsp->h);
1637 struct bt_set_configuration_rsp *rsp = (void *) buf;
1640 rsp->h.type = BT_RESPONSE;
1641 rsp->h.name = BT_CONTROL;
1642 rsp->h.length = sizeof(*rsp);
1644 unix_ipc_sendmsg(client, &rsp->h);
1651 struct bt_set_configuration_rsp *rsp = (void *) buf;
1685 rsp->h.type = BT_RESPONSE;
1686 rsp->h.name = BT_DELAY_REPORT;
1687 rsp->h.length = sizeof(*rsp);
1689 unix_ipc_sendmsg(client, &rsp->h);