spa/buffer/alloc.h  
More...
Go to the source code of this file.
|  | 
| SPA_API_BUFFER_ALLOC int | spa_buffer_alloc_fill_info (struct spa_buffer_alloc_info *info, uint32_t n_metas, struct spa_meta metas[], uint32_t n_datas, struct spa_data datas[], uint32_t data_aligns[]) | 
|  | Fill buffer allocation information. 
 | 
| SPA_API_BUFFER_ALLOC struct spa_buffer * | spa_buffer_alloc_layout (struct spa_buffer_alloc_info *info, void *skel_mem, void *data_mem) | 
|  | Fill skeleton and data according to the allocation info. 
 | 
| SPA_API_BUFFER_ALLOC int | spa_buffer_alloc_layout_array (struct spa_buffer_alloc_info *info, uint32_t n_buffers, struct spa_buffer *buffers[], void *skel_mem, void *data_mem) | 
|  | Layout an array of buffers. 
 | 
| SPA_API_BUFFER_ALLOC struct spa_buffer ** | spa_buffer_alloc_array (uint32_t n_buffers, uint32_t flags, uint32_t n_metas, struct spa_meta metas[], uint32_t n_datas, struct spa_data datas[], uint32_t data_aligns[]) | 
|  | Allocate an array of buffers. 
 | 
◆ SPA_API_BUFFER_ALLOC
      
        
          | #define SPA_API_BUFFER_ALLOC   static inline |