Main Page | Data Structures | Directories | 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.
double amplitude_that_reaches_noise_floor
unsigned int refcount
 Count the number of playing voices that use this sample.
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.
void * userdata
 Pointer to SoundFont specific data.

Field Documentation

double _fluid_sample_t::amplitude_that_reaches_noise_floor
 

Definition at line 162 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 161 of file sfont.h.

short* _fluid_sample_t::data
 

Definition at line 155 of file sfont.h.

unsigned int _fluid_sample_t::end
 

Definition at line 147 of file sfont.h.

unsigned int _fluid_sample_t::loopend
 

Definition at line 149 of file sfont.h.

unsigned int _fluid_sample_t::loopstart
 

Definition at line 148 of file sfont.h.

char _fluid_sample_t::name[21]
 

Definition at line 145 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 151 of file sfont.h.

int _fluid_sample_t::pitchadj
 

Definition at line 152 of file sfont.h.

unsigned int _fluid_sample_t::refcount
 

Count the number of playing voices that use this sample.

Definition at line 165 of file sfont.h.

unsigned int _fluid_sample_t::samplerate
 

Definition at line 150 of file sfont.h.

int _fluid_sample_t::sampletype
 

Definition at line 153 of file sfont.h.

unsigned int _fluid_sample_t::start
 

Definition at line 146 of file sfont.h.

void* _fluid_sample_t::userdata
 

Pointer to SoundFont specific data.

Definition at line 172 of file sfont.h.

int _fluid_sample_t::valid
 

Definition at line 154 of file sfont.h.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 9 19:07:09 2005 for libfluidsynth by  doxygen 1.4.1