mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
type-info: fully initialize structs
This commit is contained in:
parent
2c4bffec74
commit
1ca7704d64
9 changed files with 401 additions and 400 deletions
|
|
@ -38,10 +38,10 @@ extern "C" {
|
|||
#define SPA_TYPE_CONTROL_BASE SPA_TYPE__Control ":"
|
||||
|
||||
static const struct spa_type_info spa_type_control[] = {
|
||||
{ SPA_CONTROL_Invalid, SPA_TYPE_CONTROL_BASE "Invalid", SPA_TYPE_Int, },
|
||||
{ SPA_CONTROL_Properties, SPA_TYPE_CONTROL_BASE "Properties", SPA_TYPE_Int, },
|
||||
{ SPA_CONTROL_Midi, SPA_TYPE_CONTROL_BASE "Midi", SPA_TYPE_Int, },
|
||||
{ 0, NULL, },
|
||||
{ SPA_CONTROL_Invalid, SPA_TYPE_CONTROL_BASE "Invalid", SPA_TYPE_Int, NULL },
|
||||
{ SPA_CONTROL_Properties, SPA_TYPE_CONTROL_BASE "Properties", SPA_TYPE_Int, NULL },
|
||||
{ SPA_CONTROL_Midi, SPA_TYPE_CONTROL_BASE "Midi", SPA_TYPE_Int, NULL },
|
||||
{ 0, NULL, 0, NULL },
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue