bg_ra_plugin_t Struct Reference
[Audio recorder]

Audio 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 *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.


Detailed Description

Audio recorder.

Audio recording support from the soundcard


Field Documentation

bg_plugin_common_t bg_ra_plugin_t::common

Infos and functions common to all plugin types.

int(* bg_ra_plugin_t::open)(void *priv, gavl_audio_format_t *format)

Open plugin.

Parameters:
priv The handle returned by the create() method
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

void(* bg_ra_plugin_t::read_frame)(void *priv, gavl_audio_frame_t *frame, int num_samples)

Read audio samples.

Parameters:
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.

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


The documentation for this struct was generated from the following file:
Generated on Wed Jan 9 19:32:52 2008 for gmerlin by  doxygen 1.5.3