#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 *format) |
| Open plugin. | |
| void(* | read_frame )(void *priv, gavl_audio_frame_t *frame, int num_samples) |
| Read audio samples. | |
| void(* | close )(void *priv) |
| Close plugin. | |
Audio recording support from the soundcard
Infos and functions common to all plugin types.
| int(* bg_ra_plugin_t::open)(void *priv, gavl_audio_format_t *format) |
Open plugin.
| priv | The handle returned by the create() method | |
| format | The desired format |
| void(* bg_ra_plugin_t::read_frame)(void *priv, gavl_audio_frame_t *frame, int num_samples) |
Read audio samples.
| priv | The handle returned by the create() method | |
| frame | The frame where the samples will be copied | |
| num_samples | The number of samples to read |
| void(* bg_ra_plugin_t::close)(void *priv) |
Close plugin.
| priv | The handle returned by the create() method |
1.5.3