PipeWire 1.4.8

Loading...
Searching...
No Matches
buffers.h
Go to the documentation of this file.
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#ifdef __cplusplus
9 extern "C" {
10#endif
11
16
17#include <spa/param/param.h>
18
20 enum spa_param_buffers {
21 SPA_PARAM_BUFFERS_START,
22 SPA_PARAM_BUFFERS_buffers,
23 SPA_PARAM_BUFFERS_blocks,
24 SPA_PARAM_BUFFERS_size,
25 SPA_PARAM_BUFFERS_stride,
26 SPA_PARAM_BUFFERS_align,
27 SPA_PARAM_BUFFERS_dataType,
28 SPA_PARAM_BUFFERS_metaType,
29};
30
32 enum spa_param_meta {
33 SPA_PARAM_META_START,
34 SPA_PARAM_META_type,
35 SPA_PARAM_META_size,
36};
37
39 enum spa_param_io {
40 SPA_PARAM_IO_START,
41 SPA_PARAM_IO_id,
42 SPA_PARAM_IO_size,
43};
44
48
49#ifdef __cplusplus
50} /* extern "C" */
51#endif
52
53#endif /* SPA_PARAM_BUFFERS_H */
spa_param_meta
spa_param_meta
properties for SPA_TYPE_OBJECT_ParamMeta
Definition buffers.h:37
spa_param_io
spa_param_io
properties for SPA_TYPE_OBJECT_ParamIO
Definition buffers.h:44
spa_param_buffers
spa_param_buffers
properties for SPA_TYPE_OBJECT_ParamBuffers
Definition buffers.h:25
SPA_PARAM_META_START
@ SPA_PARAM_META_START
Definition buffers.h:38
SPA_PARAM_META_size
@ SPA_PARAM_META_size
the expected maximum size the meta (Int)
Definition buffers.h:40
SPA_PARAM_META_type
@ SPA_PARAM_META_type
the metadata, one of enum spa_meta_type (Id enum spa_meta_type)
Definition buffers.h:39
SPA_PARAM_IO_id
@ SPA_PARAM_IO_id
type ID, uniquely identifies the io area (Id enum spa_io_type)
Definition buffers.h:46
SPA_PARAM_IO_START
@ SPA_PARAM_IO_START
Definition buffers.h:45
SPA_PARAM_IO_size
@ SPA_PARAM_IO_size
size of the io area (Int)
Definition buffers.h:47
SPA_PARAM_BUFFERS_dataType
@ SPA_PARAM_BUFFERS_dataType
possible memory types (flags choice Int, mask of enum spa_data_type)
Definition buffers.h:32
SPA_PARAM_BUFFERS_size
@ SPA_PARAM_BUFFERS_size
size of a data block memory (Int)
Definition buffers.h:29
SPA_PARAM_BUFFERS_START
@ SPA_PARAM_BUFFERS_START
Definition buffers.h:26
SPA_PARAM_BUFFERS_stride
@ SPA_PARAM_BUFFERS_stride
stride of data block memory (Int)
Definition buffers.h:30
SPA_PARAM_BUFFERS_align
@ SPA_PARAM_BUFFERS_align
alignment of data block memory (Int)
Definition buffers.h:31
SPA_PARAM_BUFFERS_blocks
@ SPA_PARAM_BUFFERS_blocks
number of data blocks per buffer (Int)
Definition buffers.h:28
SPA_PARAM_BUFFERS_buffers
@ SPA_PARAM_BUFFERS_buffers
number of buffers (Int)
Definition buffers.h:27
SPA_PARAM_BUFFERS_metaType
@ SPA_PARAM_BUFFERS_metaType
required meta data types (Int, mask of enum spa_meta_type)
Definition buffers.h:33
param.h
spa/param/param.h