bg_recorder_plugin_s Struct Reference

Recorder. More...

#include <plugin.h>

Data Fields

bg_plugin_common_t common
 Infos and functions common to all plugin types.
int(* open )(void *priv, gavl_audio_format_t *audio_format, gavl_video_format_t *video_format)
 Open plugin.
bg_read_audio_func_t read_audio
 Read audio samples.
bg_read_video_func_t read_video
 Read video frame.
void(* close )(void *priv)
 Close plugin.

Detailed Description

Recorder.

Recording support from hardware devices


Field Documentation

Infos and functions common to all plugin types.

int(* bg_recorder_plugin_s::open)(void *priv, gavl_audio_format_t *audio_format, gavl_video_format_t *video_format)

Open plugin.

Parameters:
priv The handle returned by the create() method
Parameters:
format The desired format
The format will be changed to the nearest format, which is supported by the plugin. To convert the source format to the output format, use a gavl_audio_converter_t

Read audio samples.

Read video frame.

void(* bg_recorder_plugin_s::close)(void *priv)

Close plugin.

Parameters:
priv The handle returned by the create() method

The documentation for this struct was generated from the following file:
Generated on Sat Jan 28 06:53:19 2012 for gmerlin by  doxygen 1.6.3