typedef struct gavl_audio_connector_s gavl_audio_connector_t |
Opaque structure for the audio connector.
You don't want to know what's inside.
typedef struct gavl_video_connector_s gavl_video_connector_t |
Opaque structure for the audio connector.
You don't want to know what's inside.
typedef struct gavl_packet_connector_s gavl_packet_connector_t |
Opaque structure for the packet connector.
You don't want to know what's inside.
typedef void(* gavl_audio_connector_process_func)(void *priv, gavl_audio_frame_t *frame) |
Callback for processing an audio frame.
priv | Client data | |
frame | Frame |
typedef void(* gavl_video_connector_process_func)(void *priv, gavl_video_frame_t *frame) |
Callback for processing a video frame.
priv | Client data | |
frame | Frame |
typedef void(* gavl_packet_connector_process_func)(void *priv, gavl_packet_t *p) |
Callback for processing a packet.
priv | Client data | |
packet | Packet |
GAVL_PUBLIC gavl_audio_connector_t* gavl_audio_connector_create | ( | gavl_audio_source_t * | src | ) |
Create an audio connector.
src | Source |
GAVL_PUBLIC gavl_audio_options_t* gavl_audio_connector_get_options | ( | gavl_audio_connector_t * | c | ) |
Get conversion options.
c | An audio connector |
GAVL_PUBLIC void gavl_audio_connector_destroy | ( | gavl_audio_connector_t * | c | ) |
Destroy an audio connector.
c | An audio connector |
GAVL_PUBLIC void gavl_audio_connector_connect | ( | gavl_audio_connector_t * | c, | |
gavl_audio_sink_t * | sink | |||
) |
Connect a sink.
c | An audio connector | |
sink | An audio sink |
GAVL_PUBLIC void gavl_audio_connector_set_process_func | ( | gavl_audio_connector_t * | c, | |
gavl_audio_connector_process_func | func, | |||
void * | priv | |||
) |
Set process callback.
c | An audio connector | |
func | Process callback | |
priv | Client data to be passed to func |
GAVL_PUBLIC void gavl_audio_connector_start | ( | gavl_audio_connector_t * | c | ) |
Start an audio connector.
c | An audio connector |
GAVL_PUBLIC const gavl_audio_format_t* gavl_audio_connector_get_process_format | ( | gavl_audio_connector_t * | c | ) |
Get process format.
c | An audio connector |
GAVL_PUBLIC int gavl_audio_connector_process | ( | gavl_audio_connector_t * | c | ) |
Process one frame.
c | An audio connector |
GAVL_PUBLIC void gavl_audio_connector_reset | ( | gavl_audio_connector_t * | c | ) |
Reset an audio connector.
c | An audio connector |
GAVL_PUBLIC gavl_source_status_t gavl_audio_connector_get_source_status | ( | gavl_audio_connector_t * | c | ) |
Get the status of the last read call.
c | An audio connector |
GAVL_PUBLIC gavl_video_connector_t* gavl_video_connector_create | ( | gavl_video_source_t * | src | ) |
Create a video connector.
src | Source |
GAVL_PUBLIC gavl_video_options_t* gavl_video_connector_get_options | ( | gavl_video_connector_t * | c | ) |
Get conversion options.
c | A video connector |
GAVL_PUBLIC void gavl_video_connector_destroy | ( | gavl_video_connector_t * | c | ) |
Destroy a video connector.
c | A video connector |
GAVL_PUBLIC void gavl_video_connector_connect | ( | gavl_video_connector_t * | c, | |
gavl_video_sink_t * | sink | |||
) |
Connect a sink.
c | A video connector | |
sink | A video sink |
GAVL_PUBLIC void gavl_video_connector_set_process_func | ( | gavl_video_connector_t * | c, | |
gavl_video_connector_process_func | func, | |||
void * | priv | |||
) |
Set process callback.
c | A video connector | |
func | Process callback | |
priv | Client data to be passed to func |
GAVL_PUBLIC void gavl_video_connector_start | ( | gavl_video_connector_t * | c | ) |
Start a video connector.
c | A video connector |
GAVL_PUBLIC const gavl_video_format_t* gavl_video_connector_get_process_format | ( | gavl_video_connector_t * | c | ) |
Get process format.
c | A video connector |
GAVL_PUBLIC int gavl_video_connector_process | ( | gavl_video_connector_t * | c | ) |
Process one frame.
c | A video connector |
GAVL_PUBLIC void gavl_video_connector_reset | ( | gavl_video_connector_t * | c | ) |
Reset a video connector.
c | A video connector |
GAVL_PUBLIC gavl_source_status_t gavl_video_connector_get_source_status | ( | gavl_video_connector_t * | c | ) |
Get the status of the last read call.
c | A video connector |
GAVL_PUBLIC gavl_packet_connector_t* gavl_packet_connector_create | ( | gavl_packet_source_t * | src | ) |
Create a packet connector.
src | Source |
GAVL_PUBLIC void gavl_packet_connector_destroy | ( | gavl_packet_connector_t * | c | ) |
Destroy a packet connector.
c | A packet connector |
GAVL_PUBLIC void gavl_packet_connector_connect | ( | gavl_packet_connector_t * | c, | |
gavl_packet_sink_t * | sink | |||
) |
Connect a sink.
c | A packet connector | |
sink | A packet sink |
GAVL_PUBLIC void gavl_packet_connector_set_process_func | ( | gavl_packet_connector_t * | c, | |
gavl_packet_connector_process_func | func, | |||
void * | priv | |||
) |
Set process callback.
c | A packet connector | |
func | Process callback | |
priv | Client data to be passed to func |
GAVL_PUBLIC int gavl_packet_connector_process | ( | gavl_packet_connector_t * | c | ) |
Process one packet.
c | A packet connector |
GAVL_PUBLIC gavl_source_status_t gavl_packet_connector_get_source_status | ( | gavl_packet_connector_t * | c | ) |
Get the status of the last read call.
c | A packet connector |