opaque
A generic interface for user-defined messages. More...
#define | PLAYER_OPAQUE_DATA_STATE 1 |
Data subtype: generic state. | |
#define | PLAYER_OPAQUE_CMD_DATA 1 |
Cmd subtype: generic command. | |
#define | PLAYER_OPAQUE_REQ_DATA 1 |
Req subtype: generic request. | |
#define | PLAYER_OPAQUE_REQ PLAYER_OPAQUE_REQ_DATA |
Data subtype: generic state. | |
#define | PLAYER_OPAQUE_CMD PLAYER_OPAQUE_CMD_DATA |
Data subtype: generic state. | |
typedef struct player_opaque_data | player_opaque_data_t |
data |
Detailed Description
A generic interface for user-defined messages.
The opaque
interface allows you to send user-specified messages. With this interface a user can send custom commands to their drivers/plugins. See examples/plugins/opaquedriver for an example of using this interface in a plugin.