opaque
[Device proxies]
Detailed Description
The opaque proxy provides an interface for generic messages to drivers.See examples/plugins/opaquedriver for an example of using this interface in combination with a custom plugin.
Classes | |
struct | playerc_opaque_t |
Functions | |
playerc_opaque_t * | playerc_opaque_create (playerc_client_t *client, int index) |
void | playerc_opaque_destroy (playerc_opaque_t *device) |
int | playerc_opaque_subscribe (playerc_opaque_t *device, int access) |
int | playerc_opaque_unsubscribe (playerc_opaque_t *device) |
int | playerc_opaque_cmd (playerc_opaque_t *device, player_opaque_data_t *data) |
Function Documentation
int playerc_opaque_cmd | ( | playerc_opaque_t * | device, | |
player_opaque_data_t * | data | |||
) |
Send a generic command
playerc_opaque_t* playerc_opaque_create | ( | playerc_client_t * | client, | |
int | index | |||
) |
Create an opaque device proxy.
void playerc_opaque_destroy | ( | playerc_opaque_t * | device | ) |
Destroy an opaque device proxy.
int playerc_opaque_subscribe | ( | playerc_opaque_t * | device, | |
int | access | |||
) |
Subscribe to the opaque device
int playerc_opaque_unsubscribe | ( | playerc_opaque_t * | device | ) |
Un-subscribe from the opaque device