_scope_plugin Struct Reference

#include <scope_plugin.h>


Data Fields

scope_version_type version
char * name
char * author
void * handle
scope_init_type init
scope_start_type start
scope_running_type running
scope_stop_type stop
scope_shutdown_type shutdown
scope_set_data_type set_data
scope_set_fft_type set_fft


Detailed Description

You should declare a scope_plugin variable and populate it with pointers of the specific functions implemented by your scope

Field Documentation

Set to SCOPE_PLUGIN_VERSION

Point to a character array with the name of the scope

Point to a character array with the name of the author(s) of the scope

Pointer to a dlopen() handle. This is filled in by the HOST. Set to NULL.

Should point to the implentation of your init() function. Required by the HOST.

Should point to the implementation of your start() function. Required by the HOST.

Should point to the implementation of your running() function. Required by the HOST.

Should point to the implementation of your stop() function. Required by the HOST.

Should point to the implementation of your shutdown() function. Required by the HOST.

Should point to the function that collects PCM data. If you don't want PCM data set to NULL.

Should point to the function that collects FFT data. If you don't want FFT data set to NULL. NB. set_data and set_fft can't both be NULL, at least one must be set.


The documentation for this struct was generated from the following file:

Generated on Mon Jun 16 21:18:45 2008 for AlsaPlayer by  doxygen 1.5.6