|
PipeWire 1.6.8
|
#include <spa/support/plugin.h>
Data Fields | |
| uint32_t | version |
| int(*) | get_interface (struct spa_handle *handle, const char *type, void **iface) |
| Get the interface provided by handle with type. | |
| int(*) | clear (struct spa_handle *handle) |
| Clean up the memory of handle. | |
| uint32_t spa_handle::version |
| int(*) spa_handle::get_interface(struct spa_handle *handle, const char *type, void **iface) |
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.
| handle | a spa_handle |
| type | the interface type |
| iface | result to hold the interface. |
| int(*) spa_handle::clear(struct spa_handle *handle) |
Clean up the memory of handle.
After this, handle should not be used anymore.
| handle | a pointer to memory |