mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
param: add dataType buffer parameter
The dataType parameter is a bitmask of allowed data types for the buffer memory. Make the mask by or-ing all (1 << enum spa_data_type) you accept/produce.
This commit is contained in:
parent
387fcfdc8a
commit
66f4834df3
2 changed files with 8 additions and 6 deletions
|
|
@ -74,6 +74,7 @@ enum spa_param_buffers {
|
|||
SPA_PARAM_BUFFERS_size, /**< size of a data block memory (Int)*/
|
||||
SPA_PARAM_BUFFERS_stride, /**< stride of data block memory (Int) */
|
||||
SPA_PARAM_BUFFERS_align, /**< alignment of data block memory (Int) */
|
||||
SPA_PARAM_BUFFERS_dataType, /**< possible memory types (Int, mask of enum spa_data_type) */
|
||||
};
|
||||
|
||||
/** properties for SPA_TYPE_OBJECT_ParamMeta */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue