◆ clear
Clean up the memory of handle.
After this, handle should not be used anymore.
- Parameters
-
handle | a pointer to memory |
- Returns
- 0 on success
◆ get_interface
int(* spa_handle::get_interface) (struct spa_handle *handle, const char *type, void **interface) |
Get the interface provided by handle with type.
interface is always a struct spa_interface but depending on type, the struct might contain other information.
- Parameters
-
handle | a spa_handle |
type | the interface type |
interface | result to hold the interface. |
- Returns
- 0 on success -ENOTSUP when there are no interfaces -EINVAL when handle or info is NULL
◆ version
uint32_t spa_handle::version |
The documentation for this struct was generated from the following file: