PipeWire: buffers.h Source File

PipeWire 0.3.66

Loading...
Searching...
No Matches
spa/include/spa/param/buffers.h
Go to the documentation of this file.
1/* Simple Plugin API
2 *
3 * Copyright © 2018 Wim Taymans
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
14 * Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 */
24
25#ifndef SPA_PARAM_BUFFERS_H
26#define SPA_PARAM_BUFFERS_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
37#include <spa/param/param.h>
38
40enum spa_param_buffers {
41 SPA_PARAM_BUFFERS_START,
42 SPA_PARAM_BUFFERS_buffers,
43 SPA_PARAM_BUFFERS_blocks,
44 SPA_PARAM_BUFFERS_size,
45 SPA_PARAM_BUFFERS_stride,
46 SPA_PARAM_BUFFERS_align,
47 SPA_PARAM_BUFFERS_dataType,
48};
49
51 enum spa_param_meta {
52 SPA_PARAM_META_START,
53 SPA_PARAM_META_type,
54 SPA_PARAM_META_size,
55};
56
58 enum spa_param_io {
59 SPA_PARAM_IO_START,
60 SPA_PARAM_IO_id,
61 SPA_PARAM_IO_size,
62};
63
68#ifdef __cplusplus
69} /* extern "C" */
70#endif
71
72#endif /* SPA_PARAM_BUFFERS_H */
spa_param_meta
spa_param_meta
properties for SPA_TYPE_OBJECT_ParamMeta
Definition: spa/include/spa/param/buffers.h:56
spa_param_io
spa_param_io
properties for SPA_TYPE_OBJECT_ParamIO
Definition: spa/include/spa/param/buffers.h:63
spa_param_buffers
spa_param_buffers
properties for SPA_TYPE_OBJECT_ParamBuffers
Definition: spa/include/spa/param/buffers.h:45
SPA_PARAM_META_START
@ SPA_PARAM_META_START
Definition: spa/include/spa/param/buffers.h:57
SPA_PARAM_META_size
@ SPA_PARAM_META_size
the expected maximum size the meta (Int)
Definition: spa/include/spa/param/buffers.h:59
SPA_PARAM_META_type
@ SPA_PARAM_META_type
the metadata, one of enum spa_meta_type (Id enum spa_meta_type)
Definition: spa/include/spa/param/buffers.h:58
SPA_PARAM_IO_id
@ SPA_PARAM_IO_id
type ID, uniquely identifies the io area (Id enum spa_io_type)
Definition: spa/include/spa/param/buffers.h:65
SPA_PARAM_IO_START
@ SPA_PARAM_IO_START
Definition: spa/include/spa/param/buffers.h:64
SPA_PARAM_IO_size
@ SPA_PARAM_IO_size
size of the io area (Int)
Definition: spa/include/spa/param/buffers.h:66
SPA_PARAM_BUFFERS_dataType
@ SPA_PARAM_BUFFERS_dataType
possible memory types (Int, mask of enum spa_data_type)
Definition: spa/include/spa/param/buffers.h:52
SPA_PARAM_BUFFERS_size
@ SPA_PARAM_BUFFERS_size
size of a data block memory (Int)
Definition: spa/include/spa/param/buffers.h:49
SPA_PARAM_BUFFERS_START
@ SPA_PARAM_BUFFERS_START
Definition: spa/include/spa/param/buffers.h:46
SPA_PARAM_BUFFERS_stride
@ SPA_PARAM_BUFFERS_stride
stride of data block memory (Int)
Definition: spa/include/spa/param/buffers.h:50
SPA_PARAM_BUFFERS_align
@ SPA_PARAM_BUFFERS_align
alignment of data block memory (Int)
Definition: spa/include/spa/param/buffers.h:51
SPA_PARAM_BUFFERS_blocks
@ SPA_PARAM_BUFFERS_blocks
number of data blocks per buffer (Int)
Definition: spa/include/spa/param/buffers.h:48
SPA_PARAM_BUFFERS_buffers
@ SPA_PARAM_BUFFERS_buffers
number of buffers (Int)
Definition: spa/include/spa/param/buffers.h:47
param.h
spa/param/param.h