Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/
Da2dp.c270 struct bt_avdtp_media_hdr *media_hdr; in bt_a2dp_media_data_callback() local
280 media_hdr = net_buf_pull_mem(buf, sizeof(*media_hdr)); in bt_a2dp_media_data_callback()
283 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()
780 struct bt_avdtp_media_hdr *media_hdr; in bt_a2dp_stream_send() local
786 media_hdr = net_buf_push(buf, sizeof(struct bt_avdtp_media_hdr)); in bt_a2dp_stream_send()
788 media_hdr->playload_type = A2DP_SBC_PAYLOAD_TYPE; in bt_a2dp_stream_send()
791 memset(media_hdr, 0, sizeof(struct bt_avdtp_media_hdr)); in bt_a2dp_stream_send()
792 media_hdr->synchronization_source = 0U; in bt_a2dp_stream_send()
794 sys_put_be32(ts, (uint8_t *)&media_hdr->time_stamp); in bt_a2dp_stream_send()
[all …]