ngfd-plugin
|
Interface declaration structure. More...
#include <sinkinterface.h>
Public Attributes | |
const char * | name |
Name of the interface. | |
const char * | type |
Type of the interface. | |
int(* | initialize )(NSinkInterface *iface) |
Initialization function. | |
void(* | shutdown )(NSinkInterface *iface) |
Shutdown function. | |
int(* | can_handle )(NSinkInterface *iface, NRequest *request) |
Can_handle function. | |
int(* | prepare )(NSinkInterface *iface, NRequest *request) |
Prepare function. | |
int(* | play )(NSinkInterface *iface, NRequest *request) |
Play function. | |
int(* | pause )(NSinkInterface *iface, NRequest *request) |
Pause function. | |
void(* | stop )(NSinkInterface *iface, NRequest *request) |
Stop function. | |
Interface declaration structure.
int(* _NSinkInterfaceDecl::can_handle) (NSinkInterface *iface, NRequest *request) |
Can_handle function.
This function is called to determinate can this interface handle requested event.
iface | NSinkInterface structure |
request | Request to be handled |
int(* _NSinkInterfaceDecl::initialize) (NSinkInterface *iface) |
Initialization function.
Called when interface is loaded.
iface | NSinkInterface structure |
const char* _NSinkInterfaceDecl::name |
Name of the interface.
int(* _NSinkInterfaceDecl::pause) (NSinkInterface *iface, NRequest *request) |
Pause function.
This function is when interface is requested to pause playback of the request.
iface | NSinkInterface structure |
request | Request |
int(* _NSinkInterfaceDecl::play) (NSinkInterface *iface, NRequest *request) |
Play function.
This function is when interface is requested to start playback of the request.
iface | NSinkInterface structure |
request | Request |
int(* _NSinkInterfaceDecl::prepare) (NSinkInterface *iface, NRequest *request) |
Prepare function.
This function is when interface is requested to ready itself to play the request.
iface | NSinkInterface structure |
request | Request |
void(* _NSinkInterfaceDecl::shutdown) (NSinkInterface *iface) |
Shutdown function.
Called when interface is removed.
iface | NSinkInterface structure |
void(* _NSinkInterfaceDecl::stop) (NSinkInterface *iface, NRequest *request) |
Stop function.
This function is when interface is requested to stop playback of the request.
iface | NSinkInterface structure |
request | Request |
const char* _NSinkInterfaceDecl::type |
Type of the interface.
Common types are defined as macros.