Functions
wp_spa_type_deinit
wp_spa_type_deinit ()
Deinitializes the spa type registry
Wp.spa_type_deinit
def Wp.spa_type_deinit ():
#python wrapper for 'wp_spa_type_deinit'
Deinitializes the spa type registry
Wp.prototype.spa_type_deinit
function Wp.prototype.spa_type_deinit(): {
// javascript wrapper for 'wp_spa_type_deinit'
}
Deinitializes the spa type registry
wp_spa_type_get_by_id
gboolean wp_spa_type_get_by_id (WpSpaTypeTable table, guint32 id, const char** name, const char** nick, WpSpaTypeTable * values_table)
Gets the name and nick name of the registered type given its id
Parameters:
table
–
the table
id
–
the id of the type
name
(
[out]
[optional]
)
–
the name of the type
nick
(
[out]
[optional]
)
–
the nick name of the type
values_table
(
[out]
[optional]
)
–
the values table of the type
TRUE if the type was found, FALSE otherwise
Wp.spa_type_get_by_id
def Wp.spa_type_get_by_id (table, id):
#python wrapper for 'wp_spa_type_get_by_id'
Gets the name and nick name of the registered type given its id
Returns a tuple made of:
TRUE if the type was found, FALSE otherwise
name
(
str
)
–
TRUE if the type was found, FALSE otherwise
nick
(
str
)
–
TRUE if the type was found, FALSE otherwise
values_table
(
Wp.SpaTypeTable
)
–
TRUE if the type was found, FALSE otherwise
Wp.prototype.spa_type_get_by_id
function Wp.prototype.spa_type_get_by_id(table: Wp.SpaTypeTable, id: Number): {
// javascript wrapper for 'wp_spa_type_get_by_id'
}
Gets the name and nick name of the registered type given its id
Returns a tuple made of:
TRUE if the type was found, FALSE otherwise
name
(
String
)
–
TRUE if the type was found, FALSE otherwise
nick
(
String
)
–
TRUE if the type was found, FALSE otherwise
values_table
(
Wp.SpaTypeTable
)
–
TRUE if the type was found, FALSE otherwise
wp_spa_type_get_by_nick
gboolean wp_spa_type_get_by_nick (WpSpaTypeTable table, const char* nick, guint32 * id, const char** name, WpSpaTypeTable * values_table)
Gets the id and name of the registered type given its nick name
Parameters:
table
–
the table
nick
–
the nick name of the type
id
(
[out]
[optional]
)
–
the id of the type
name
(
[out]
[optional]
)
–
the name of the type
values_table
(
[out]
[optional]
)
–
the values table of the type
TRUE if the type was found, FALSE otherwise
Wp.spa_type_get_by_nick
def Wp.spa_type_get_by_nick (table, nick):
#python wrapper for 'wp_spa_type_get_by_nick'
Gets the id and name of the registered type given its nick name
Returns a tuple made of:
TRUE if the type was found, FALSE otherwise
id
(
int
)
–
TRUE if the type was found, FALSE otherwise
name
(
str
)
–
TRUE if the type was found, FALSE otherwise
values_table
(
Wp.SpaTypeTable
)
–
TRUE if the type was found, FALSE otherwise
Wp.prototype.spa_type_get_by_nick
function Wp.prototype.spa_type_get_by_nick(table: Wp.SpaTypeTable, nick: String): {
// javascript wrapper for 'wp_spa_type_get_by_nick'
}
Gets the id and name of the registered type given its nick name
Returns a tuple made of:
TRUE if the type was found, FALSE otherwise
id
(
Number
)
–
TRUE if the type was found, FALSE otherwise
name
(
String
)
–
TRUE if the type was found, FALSE otherwise
values_table
(
Wp.SpaTypeTable
)
–
TRUE if the type was found, FALSE otherwise
wp_spa_type_get_table_size
size_t wp_spa_type_get_table_size (WpSpaTypeTable table)
Gets the number of registered types in a given table
Parameters:
table
–
the table
The number of registered types
Wp.spa_type_get_table_size
def Wp.spa_type_get_table_size (table):
#python wrapper for 'wp_spa_type_get_table_size'
Gets the number of registered types in a given table
Parameters:
table
(
Wp.SpaTypeTable
)
–
the table
The number of registered types
Wp.prototype.spa_type_get_table_size
function Wp.prototype.spa_type_get_table_size(table: Wp.SpaTypeTable): {
// javascript wrapper for 'wp_spa_type_get_table_size'
}
Gets the number of registered types in a given table
Parameters:
table
(
Wp.SpaTypeTable
)
–
the table
The number of registered types
wp_spa_type_init
wp_spa_type_init (gboolean register_spa)
Initializes the spa type registry
Parameters:
register_spa
–
whether spa types will be registered or not
Wp.spa_type_init
def Wp.spa_type_init (register_spa):
#python wrapper for 'wp_spa_type_init'
Initializes the spa type registry
Parameters:
register_spa
(
bool
)
–
whether spa types will be registered or not
wp_spa_type_register
gboolean wp_spa_type_register (WpSpaTypeTable table, const char* name, const char* nick)
Registers a type name with a nickname in the registry
Parameters:
table
–
the table
name
–
the name of the type
nick
–
the nick name of the type
TRUE if the type could be registered, FALSE otherwise
Wp.spa_type_register
def Wp.spa_type_register (table, name, nick):
#python wrapper for 'wp_spa_type_register'
Registers a type name with a nickname in the registry
Parameters:
table
(
Wp.SpaTypeTable
)
–
the table
name
(
str
)
–
the name of the type
nick
(
str
)
–
the nick name of the type
TRUE if the type could be registered, FALSE otherwise
Wp.prototype.spa_type_register
function Wp.prototype.spa_type_register(table: Wp.SpaTypeTable, name: String, nick: String): {
// javascript wrapper for 'wp_spa_type_register'
}
Registers a type name with a nickname in the registry
Parameters:
table
(
Wp.SpaTypeTable
)
–
the table
name
(
String
)
–
the name of the type
nick
(
String
)
–
the nick name of the type
TRUE if the type could be registered, FALSE otherwise
wp_spa_type_unregister
wp_spa_type_unregister (WpSpaTypeTable table, const char* nick)
Unregisters a type given its nick name
Parameters:
table
–
the table
nick
–
the nick name of the type
Wp.spa_type_unregister
def Wp.spa_type_unregister (table, nick):
#python wrapper for 'wp_spa_type_unregister'
Unregisters a type given its nick name
Wp.prototype.spa_type_unregister
function Wp.prototype.spa_type_unregister(table: Wp.SpaTypeTable, nick: String): {
// javascript wrapper for 'wp_spa_type_unregister'
}
Unregisters a type given its nick name
Enumerations
WpSpaTypeTable
The diferent tables (namespaces) the registry has.
Members
WP_SPA_TYPE_TABLE_BASIC
(0)
–
The basic type table
WP_SPA_TYPE_TABLE_PARAM
(1)
–
The param type table (used as object id)
WP_SPA_TYPE_TABLE_PROPS
(2)
–
The object properties type table
WP_SPA_TYPE_TABLE_PROP_INFO
(3)
–
The object property info type table
WP_SPA_TYPE_TABLE_CONTROL
(4)
–
The sequence control type table
WP_SPA_TYPE_TABLE_CHOICE
(5)
–
The choice type table
WP_SPA_TYPE_TABLE_FORMAT
(6)
–
The object format type table
WP_SPA_TYPE_TABLE_PARAM_PORT_CONFIG
(7)
–
The object param port config type table
WP_SPA_TYPE_TABLE_PARAM_PROFILE
(8)
–
The sequence control type table
WP_SPA_TYPE_TABLE_AUDIO_CHANNEL
(9)
–
The audio channel type table
WP_SPA_TYPE_TABLE_LAST
(10)
–
Wp.SpaTypeTable
The diferent tables (namespaces) the registry has.
Members
Wp.SpaTypeTable.BASIC
(0)
–
The basic type table
Wp.SpaTypeTable.PARAM
(1)
–
The param type table (used as object id)
Wp.SpaTypeTable.PROPS
(2)
–
The object properties type table
Wp.SpaTypeTable.PROP_INFO
(3)
–
The object property info type table
Wp.SpaTypeTable.CONTROL
(4)
–
The sequence control type table
Wp.SpaTypeTable.CHOICE
(5)
–
The choice type table
Wp.SpaTypeTable.FORMAT
(6)
–
The object format type table
Wp.SpaTypeTable.PARAM_PORT_CONFIG
(7)
–
The object param port config type table
Wp.SpaTypeTable.PARAM_PROFILE
(8)
–
The sequence control type table
Wp.SpaTypeTable.AUDIO_CHANNEL
(9)
–
The audio channel type table
Wp.SpaTypeTable.LAST
(10)
–
Wp.SpaTypeTable
The diferent tables (namespaces) the registry has.
Members
Wp.SpaTypeTable.BASIC
(0)
–
The basic type table
Wp.SpaTypeTable.PARAM
(1)
–
The param type table (used as object id)
Wp.SpaTypeTable.PROPS
(2)
–
The object properties type table
Wp.SpaTypeTable.PROP_INFO
(3)
–
The object property info type table
Wp.SpaTypeTable.CONTROL
(4)
–
The sequence control type table
Wp.SpaTypeTable.CHOICE
(5)
–
The choice type table
Wp.SpaTypeTable.FORMAT
(6)
–
The object format type table
Wp.SpaTypeTable.PARAM_PORT_CONFIG
(7)
–
The object param port config type table
Wp.SpaTypeTable.PARAM_PROFILE
(8)
–
The sequence control type table
Wp.SpaTypeTable.AUDIO_CHANNEL
(9)
–
The audio channel type table
Wp.SpaTypeTable.LAST
(10)
–
The results of the search are