Home
last modified time | relevance | path

Searched refs:media_hdr (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/classic/
Da2dp.c270 struct bt_avdtp_media_hdr *media_hdr; in bt_a2dp_media_data_callback() local
276 if (ep->stream == NULL || buf->len < sizeof(*media_hdr)) { in bt_a2dp_media_data_callback()
281 media_hdr = net_buf_pull_mem(buf, sizeof(*media_hdr)); in bt_a2dp_media_data_callback()
283 stream->ops->recv(stream, buf, sys_get_be16((uint8_t *)&media_hdr->sequence_number), in bt_a2dp_media_data_callback()
284 sys_get_be32((uint8_t *)&media_hdr->time_stamp)); in bt_a2dp_media_data_callback()
833 struct bt_avdtp_media_hdr *media_hdr; in bt_a2dp_stream_send() local
839 media_hdr = net_buf_push(buf, sizeof(struct bt_avdtp_media_hdr)); in bt_a2dp_stream_send()
840 memset(media_hdr, 0, sizeof(struct bt_avdtp_media_hdr)); in bt_a2dp_stream_send()
842 media_hdr->playload_type = A2DP_SBC_PAYLOAD_TYPE; in bt_a2dp_stream_send()
845 media_hdr->RTP_version = BT_AVDTP_RTP_VERSION; in bt_a2dp_stream_send()
[all …]