Main Page   Data Structures   File List   Data Fields   Globals  

_fluid_sample_t Struct Reference


Data Fields

char name [21]
unsigned int start
unsigned int end
unsigned int loopstart
unsigned int loopend
unsigned int samplerate
int origpitch
int pitchadj
int sampletype
int valid
short * data
int amplitude_that_reaches_noise_floor_is_valid
 The amplitude, that will lower the level of the sample's loop to the noise floor Needed for note turnoff optimization, will be filled out automatically. More...

double amplitude_that_reaches_noise_floor
unsigned int refcount
 Count the number of playing voices that use this sample. More...

int(* notify )(fluid_sample_t *sample, int reason)
 Implement this function if the sample or SoundFont needs to be notified when the sample is no longer used. More...

void * userdata
 Pointer to SoundFont specific data. More...


Field Documentation

double _fluid_sample_t::amplitude_that_reaches_noise_floor
 

Definition at line 149 of file sfont.h.

int _fluid_sample_t::amplitude_that_reaches_noise_floor_is_valid
 

The amplitude, that will lower the level of the sample's loop to the noise floor Needed for note turnoff optimization, will be filled out automatically.

Definition at line 148 of file sfont.h.

short* _fluid_sample_t::data
 

Definition at line 142 of file sfont.h.

unsigned int _fluid_sample_t::end
 

Definition at line 134 of file sfont.h.

unsigned int _fluid_sample_t::loopend
 

Definition at line 136 of file sfont.h.

unsigned int _fluid_sample_t::loopstart
 

Definition at line 135 of file sfont.h.

char _fluid_sample_t::name[21]
 

Definition at line 132 of file sfont.h.

int(* _fluid_sample_t::notify)(fluid_sample_t* sample, int reason)
 

Implement this function if the sample or SoundFont needs to be notified when the sample is no longer used.

int _fluid_sample_t::origpitch
 

Definition at line 138 of file sfont.h.

int _fluid_sample_t::pitchadj
 

Definition at line 139 of file sfont.h.

unsigned int _fluid_sample_t::refcount
 

Count the number of playing voices that use this sample.

Definition at line 152 of file sfont.h.

unsigned int _fluid_sample_t::samplerate
 

Definition at line 137 of file sfont.h.

int _fluid_sample_t::sampletype
 

Definition at line 140 of file sfont.h.

unsigned int _fluid_sample_t::start
 

Definition at line 133 of file sfont.h.

void* _fluid_sample_t::userdata
 

Pointer to SoundFont specific data.

Definition at line 159 of file sfont.h.

int _fluid_sample_t::valid
 

Definition at line 141 of file sfont.h.


The documentation for this struct was generated from the following file:
Generated on Thu Mar 13 19:09:36 2003 for libfluidsynth by doxygen1.2.15