PipeWire: spa/param/profile-types.h Source File

PipeWire 1.6.5

Loading...
Searching...
No Matches
profile-types.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_PROFILE_TYPES_H
6#define SPA_PARAM_PROFILE_TYPES_H
7
8#include <spa/param/param-types.h>
9
10#include <spa/param/profile.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
20
21#define SPA_TYPE_INFO_PARAM_Profile SPA_TYPE_INFO_PARAM_BASE "Profile"
22#define SPA_TYPE_INFO_PARAM_PROFILE_BASE SPA_TYPE_INFO_PARAM_Profile ":"
23
24static const struct spa_type_info spa_type_param_profile[] = {
25 { SPA_PARAM_PROFILE_START, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_PROFILE_BASE, spa_type_param, },
26 { SPA_PARAM_PROFILE_index, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_PROFILE_BASE "index", NULL },
27 { SPA_PARAM_PROFILE_name, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PROFILE_BASE "name", NULL },
28 { SPA_PARAM_PROFILE_description, SPA_TYPE_String, SPA_TYPE_INFO_PARAM_PROFILE_BASE "description", NULL },
29 { SPA_PARAM_PROFILE_priority, SPA_TYPE_Int, SPA_TYPE_INFO_PARAM_PROFILE_BASE "priority", NULL },
30 { SPA_PARAM_PROFILE_available, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_PROFILE_BASE "available", spa_type_param_availability, },
31 { SPA_PARAM_PROFILE_info, SPA_TYPE_Struct, SPA_TYPE_INFO_PARAM_PROFILE_BASE "info", NULL, },
32 { SPA_PARAM_PROFILE_classes, SPA_TYPE_Struct, SPA_TYPE_INFO_PARAM_PROFILE_BASE "classes", NULL, },
33 { SPA_PARAM_PROFILE_save, SPA_TYPE_Bool, SPA_TYPE_INFO_PARAM_PROFILE_BASE "save", NULL, },
34 { 0, 0, NULL, NULL },
35};
36
40
41#ifdef __cplusplus
42} /* extern "C" */
43#endif
44
45#endif /* SPA_PARAM_PROFILE_TYPES_H */
spa_type_param_profile
static const struct spa_type_info spa_type_param_profile[]
Definition profile-types.h:31
spa_type_param_availability
static const struct spa_type_info spa_type_param_availability[]
Definition param-types.h:102
SPA_TYPE_INFO_PARAM_PROFILE_BASE
#define SPA_TYPE_INFO_PARAM_PROFILE_BASE
Definition profile-types.h:29
spa_type_param
static const struct spa_type_info spa_type_param[]
Definition param-types.h:32
SPA_PARAM_PROFILE_description
@ SPA_PARAM_PROFILE_description
profile description (String)
Definition profile.h:29
SPA_PARAM_PROFILE_save
@ SPA_PARAM_PROFILE_save
If profile should be saved (Bool).
Definition profile.h:46
SPA_PARAM_PROFILE_priority
@ SPA_PARAM_PROFILE_priority
profile priority (Int)
Definition profile.h:30
SPA_PARAM_PROFILE_info
@ SPA_PARAM_PROFILE_info
info (Struct( Int : n_items, (Strin...
Definition profile.h:33
SPA_PARAM_PROFILE_START
@ SPA_PARAM_PROFILE_START
Definition profile.h:26
SPA_PARAM_PROFILE_classes
@ SPA_PARAM_PROFILE_classes
node classes provided by this profile (Struct( Int : number of items following Struct( String : class...
Definition profile.h:37
SPA_PARAM_PROFILE_available
@ SPA_PARAM_PROFILE_available
availability of the profile (Id enum spa_param_availability)
Definition profile.h:31
SPA_PARAM_PROFILE_name
@ SPA_PARAM_PROFILE_name
profile name (String)
Definition profile.h:28
SPA_PARAM_PROFILE_index
@ SPA_PARAM_PROFILE_index
profile index (Int)
Definition profile.h:27
SPA_TYPE_Int
@ SPA_TYPE_Int
Definition type.h:45
SPA_TYPE_Bool
@ SPA_TYPE_Bool
Definition type.h:43
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition type.h:44
SPA_TYPE_String
@ SPA_TYPE_String
Definition type.h:49
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition type.h:55
param-types.h
spa/param/param-types.h
profile.h
spa/param/profile.h
spa_type_info
Definition type.h:156