buffer: add that the mapoffset is page aligned

This commit is contained in:
Wim Taymans 2024-06-13 10:22:58 +02:00
parent 9592b0af2a
commit 0115042adb

View File

@ -76,7 +76,7 @@ struct spa_data {
* specified with this flag. */
uint32_t flags; /**< data flags */
int64_t fd; /**< optional fd for data */
uint32_t mapoffset; /**< offset to map fd at */
uint32_t mapoffset; /**< offset to map fd at, this is page aligned */
uint32_t maxsize; /**< max size of data */
void *data; /**< optional data pointer */
struct spa_chunk *chunk; /**< valid chunk of memory */