#ifndef FUNCTIONS_H
#define FUNCTIONS_H

#define FloatTo_FIXED_POINT(x) (short)(x*8192)
#define FIXED_POINT_ToFloat(x) (float)x/8192
#define min(a,b)               (a<b)?a:b

//Prototypes
//==========
float FrequencyToMel (float frequency);
float MelToFrequency (float mel);

float WindowPonder (unsigned long i, unsigned long nSamples);
void GetFileName (char *buffer_src, char *buffer_dest);

#endif


