gmerlin
|
Audio filter plugin. More...
#include <plugin.h>
Data Fields | |
bg_plugin_common_t | common |
Infos and functions common to all plugin types. | |
void(* | reset )(void *priv) |
Reset. | |
gavl_audio_source_t *(* | connect )(void *priv, gavl_audio_source_t *, const gavl_audio_options_t *opt) |
Connect sources. | |
int(* | need_restart )(void *priv) |
Report, if the plugin must be reinitialized. | |
Audio filter plugin.
bg_plugin_common_t bg_fa_plugin_s::common |
Infos and functions common to all plugin types.
void(* bg_fa_plugin_s::reset) (void *priv) |
Reset.
priv | The handle returned by the create() method |
Optional, resets internal state, as if no frame has been processed before.
gavl_audio_source_t *(* bg_fa_plugin_s::connect) (void *priv, gavl_audio_source_t *, const gavl_audio_options_t *opt) |
Connect sources.
priv | The handle returned by the create() method |
src | Video source where this filter gets it's frames from |
This can be implemented as a replacement for connect_input_port, set_input_format and get_output_format read_video.
int(* bg_fa_plugin_s::need_restart) (void *priv) |
Report, if the plugin must be reinitialized.
priv | The handle returned by the create() method |
Optional, must be called after set_parameter() to check, if the filter must be reinitialized. Note, that the input and output formats can be changed in this case as well.