/**************************************************************************************** * Name: pcmics2_config.h * * Purpose: Hold configuration information for application * * Author: Luke Scharf (lscharf@vt.edu) ***************************************************************************************/ /******************************* * Multiple Include Protection ******************************/ #ifndef _PCMICS2_CONFIG_H_ #define _PCMICS2_CONFIG_H_ /************* * Constants ************/ //-- Wave Length range -- #define WAVE_LEN_DEF 64 #define WAVE_LEN_MIN 2 #define WAVE_LEN_MAX 120 //-- Microphone Distance Range -- #define MIC_DIST_DEF 30 #define MIC_DIST_MIN 10 #define MIC_DIST_MAX 60 //-- Sample Scale Range -- #define ZOOM_DEF 10 #define ZOOM_MIN 1 #define ZOOM_MAX 15 //-- Ray Scale Range -- #define RAY_SCALE_DEF 10 #define RAY_SCALE_MIN 1 #define RAY_SCALE_MAX 15 #define RAY_MIN_AMP 300 //-- Sound Buffer Parameters -- #define SND_DAT_CHAN 2 #define SND_DAT_SAMP 4410 #define SND_PAT_CHAN 1 #define SND_PAT_SAMP 1024 //-- Graphics Stuff -- #define GRAPH_MIC_DIA 1 #define GRAPH_VIRTEX_DIA 3 #define GRAPH_STRLEN 65 #define GRAPH_STRSHIFT_X -32 #define GRAPH_STRSHIFT_Y 12 #define LABEL_WIDTH 75 #define LABEL_HEIGHT 0 #define LABEL_JUST GTK_JUSTIFY_LEFT #define ARROW_HEADLEN 6 #define ARROW_PITCH (3*M_PI/4) //-- Misc -- #define FILE_SAVENAME "data/lastsave.snd" #define DELAY_CONTINUOUS 1000 /******************************* * Multiple Include Protection ******************************/ #endif