Searched refs:media_hdr (Results 1 – 1 of 1) sorted by relevance
270 struct bt_avdtp_media_hdr *media_hdr; in bt_a2dp_media_data_callback() local276 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() local839 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 …]