Home | History | Annotate | Download | only in audio

Lines Matching defs:rsp

159 	bt_audio_error_t *rsp = (void *) buf;
165 rsp->h.type = BT_ERROR;
166 rsp->h.name = name;
167 rsp->h.length = sizeof(*rsp);
169 rsp->posix_errno = err;
172 unix_ipc_sendmsg(client, &rsp->h);
262 struct bt_get_capabilities_rsp *rsp = (void *) buf;
272 length = headset_generate_capability(dev, (void *) rsp->data);
274 rsp->h.type = BT_RESPONSE;
275 rsp->h.name = BT_GET_CAPABILITIES;
276 rsp->h.length = sizeof(*rsp) + length;
278 ba2str(&dev->src, rsp->source);
279 ba2str(&dev->dst, rsp->destination);
280 strncpy(rsp->object, dev->path, sizeof(rsp->object));
282 unix_ipc_sendmsg(client, &rsp->h);
295 struct bt_set_configuration_rsp *rsp = (void *) buf;
304 rsp->h.type = BT_RESPONSE;
305 rsp->h.name = BT_SET_CONFIGURATION;
306 rsp->h.length = sizeof(*rsp);
308 rsp->link_mtu = 48;
312 unix_ipc_sendmsg(client, &rsp->h);
325 struct bt_set_configuration_rsp *rsp = (void *) buf;
336 rsp->h.type = BT_RESPONSE;
337 rsp->h.name = BT_SET_CONFIGURATION;
338 rsp->h.length = sizeof(*rsp);
340 rsp->link_mtu = 48;
344 unix_ipc_sendmsg(client, &rsp->h);
351 struct bt_start_stream_rsp *rsp = (void *) buf;
366 rsp->h.type = BT_RESPONSE;
367 rsp->h.name = BT_START_STREAM;
368 rsp->h.length = sizeof(*rsp);
370 unix_ipc_sendmsg(client, &rsp->h);
395 struct bt_start_stream_rsp *rsp = (void *) buf;
404 rsp->h.type = BT_RESPONSE;
405 rsp->h.name = BT_START_STREAM;
406 rsp->h.length = sizeof(*rsp);
408 unix_ipc_sendmsg(client, &rsp->h);
430 struct bt_stop_stream_rsp *rsp = (void *) buf;
436 rsp->h.type = BT_RESPONSE;
437 rsp->h.name = BT_STOP_STREAM;
438 rsp->h.length = sizeof(*rsp);
440 unix_ipc_sendmsg(client, &rsp->h);
500 static int a2dp_append_codec(struct bt_get_capabilities_rsp *rsp,
508 codec_capabilities_t *codec = (void *) rsp + rsp->h.length;
511 if (rsp->h.length > BT_SUGGESTED_BUFFER_SIZE)
514 space_left = BT_SUGGESTED_BUFFER_SIZE - rsp->h.length;
594 rsp->h.length += codec->length;
598 rsp->h.length);
609 struct bt_get_capabilities_rsp *rsp = (void *) buf;
624 rsp->h.type = BT_RESPONSE;
625 rsp->h.name = BT_GET_CAPABILITIES;
626 rsp->h.length = sizeof(*rsp);
627 rsp->source);
628 ba2str(&client->dev->dst, rsp->destination);
629 strncpy(rsp->object, client->dev->path, sizeof(rsp->object));
676 a2dp_append_codec(rsp, cap, seid, type, configured, lock);
679 unix_ipc_sendmsg(client, &rsp->h);
704 struct bt_set_configuration_rsp *rsp = (void *) buf;
732 rsp->h.type = BT_RESPONSE;
733 rsp->h.name = BT_SET_CONFIGURATION;
734 rsp->h.length = sizeof(*rsp);
737 rsp->link_mtu = omtu;
739 unix_ipc_sendmsg(client, &rsp->h);
763 struct bt_start_stream_rsp *rsp = (void *) buf;
771 rsp->h.type = BT_RESPONSE;
772 rsp->h.name = BT_START_STREAM;
773 rsp->h.length = sizeof(*rsp);
775 unix_ipc_sendmsg(client, &rsp->h);
780 rsp->h.length = sizeof(*ind);
817 struct bt_stop_stream_rsp *rsp = (void *) buf;
824 rsp->h.type = BT_RESPONSE;
825 rsp->h.name = BT_STOP_STREAM;
826 rsp->h.length = sizeof(*rsp);
828 unix_ipc_sendmsg(client, &rsp->h);
898 struct bt_open_rsp *rsp = (void *) buf;
902 rsp->h.type = BT_RESPONSE;
903 rsp->h.name = BT_OPEN;
904 rsp->h.length = sizeof(*rsp);
906 ba2str(&dev->src, rsp->source);
907 ba2str(&dev->dst, rsp->destination);
908 strncpy(rsp->object, dev->path, sizeof(rsp->object));
910 unix_ipc_sendmsg(client, &rsp->h);
1215 struct bt_close_rsp *rsp = (void *) buf;
1219 rsp->h.type = BT_RESPONSE;
1220 rsp->h.name = BT_CLOSE;
1221 rsp->h.length = sizeof(*rsp);
1223 unix_ipc_sendmsg(client, &rsp->h);
1617 struct bt_set_configuration_rsp *rsp = (void *) buf;
1620 rsp->h.type = BT_RESPONSE;
1621 rsp->h.name = BT_CONTROL;
1622 rsp->h.length = sizeof(*rsp);
1624 unix_ipc_sendmsg(client, &rsp->h);
1631 struct bt_set_configuration_rsp *rsp = (void *) buf;
1665 rsp->h.type = BT_RESPONSE;
1666 rsp->h.name = BT_DELAY_REPORT;
1667 rsp->h.length = sizeof(*rsp);
1669 unix_ipc_sendmsg(client, &rsp->h);