/**************************************************************************/ /* File: my_std_defs.h */ /**************************************************************************/ /* Author: Neeraj Deshmukh Date: March 2, 1996 */ /**************************************************************************/ /*======================================================================== This file declares the various parameters standard for DSP/speech applications ========================================================================*/ /*------------------------------------------------------------------------ make sure definitions are only made once ------------------------------------------------------------------------*/ #ifndef __ISIP_STD_FUNCTS #define __ISIP_STD_FUNCTS /*------------------------------------------------------------------------ system and ISIP include files ------------------------------------------------------------------------*/ #include #include #include #include #include #include /*------------------------------------------------------------------------ declaration of global data types ------------------------------------------------------------------------*/ typedef char *String; /*------------------------------------------------------------------------ declaration of global constants ------------------------------------------------------------------------*/ #define PI 3.1415927 #define DB_POW_FACTOR 10 #define DB_MAG_FACTOR 20 /*------------------------------------------------------------------------ declaration of non-method static global functions ------------------------------------------------------------------------*/ // open a file with given name for reading or writing and return pointer // extern FILE *open_file_cc (String name_l, String mode_l); // generate a random_number within the specified range // extern double random_gen_cc (double low_limit_l, double high_limit_l); #endif