+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
c · 54 lines · 1.6 KB · SPDX: MIT
main
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4  
5 #ifndef SPA_PARAM_BUFFERS_H
6 #define SPA_PARAM_BUFFERS_H
7  
8 #include <spa/param/param.h>
9  
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13  
14 /**
15 * \addtogroup spa_param
16 * \{
17 */
18  
19 /** properties for SPA_TYPE_OBJECT_ParamBuffers */
20 enum spa_param_buffers {
21 SPA_PARAM_BUFFERS_START,
22 SPA_PARAM_BUFFERS_buffers, /**< number of buffers (Int) */
23 SPA_PARAM_BUFFERS_blocks, /**< number of data blocks per buffer (Int) */
24 SPA_PARAM_BUFFERS_size, /**< size of a data block memory (Int)*/
25 SPA_PARAM_BUFFERS_stride, /**< stride of data block memory (Int) */
26 SPA_PARAM_BUFFERS_align, /**< alignment of data block memory (Int) */
27 SPA_PARAM_BUFFERS_dataType, /**< possible memory types (flags choice Int, mask of enum spa_data_type) */
28 SPA_PARAM_BUFFERS_metaType, /**< required meta data types (Int, mask of enum spa_meta_type) */
29 };
30  
31 /** properties for SPA_TYPE_OBJECT_ParamMeta */
32 enum spa_param_meta {
33 SPA_PARAM_META_START,
34 SPA_PARAM_META_type, /**< the metadata, one of enum spa_meta_type (Id enum spa_meta_type) */
35 SPA_PARAM_META_size, /**< the expected maximum size the meta (Int) */
36 SPA_PARAM_META_features, /**< meta data features (Features Int) */
37 };
38  
39 /** properties for SPA_TYPE_OBJECT_ParamIO */
40 enum spa_param_io {
41 SPA_PARAM_IO_START,
42 SPA_PARAM_IO_id, /**< type ID, uniquely identifies the io area (Id enum spa_io_type) */
43 SPA_PARAM_IO_size, /**< size of the io area (Int) */
44 };
45  
46 /**
47 * \}
48 */
49  
50 #ifdef __cplusplus
51 } /* extern "C" */
52 #endif
53  
54 #endif /* SPA_PARAM_BUFFERS_H */