|
Defines |
#define | PSMOOTH 0.001 |
#define | M_E 2.7182818284590452354 |
#define | WM_UPDATE_SPECTRUM (WM_USER + 1000) |
#define | SPECTRUM_INTERVAL 0 |
#define | BLACKBIAS 100 |
Functions |
void | paintEnergy (HWND canvas) |
void | paintSpectrum (HWND canvas) |
void | clearCanvas (HWND canvas, COLORREF rgb) |
void | paintCanvas (HWND canvas, HBITMAP image) |
void | clearBitmap (HWND canvas, HBITMAP image, COLORREF rgb) |
BOOL CALLBACK | spectralDlgProc (HWND hwnd, UINT nMessage, WPARAM wParam, LPARAM lParam) |
VOID | spectralDialogue (HWND hwndParent) |
void | energy (short *samples, int nsamples, double *rms, double *emax) |
void | storeSample (short samp, BOOL isInput) |
void | spectrumUpdate (LPSTR buffer, WORD buflen, DWORD channels, DWORD rate, DWORD bytesec, WORD align, BOOL isInput) |
Variables |
int | nbands = 128 |
int | fftsize = 512 |
int | logscale = TRUE |
int | logfreq = FALSE |
short * | samples = NULL |
unsigned char * | sourceSpectrum = NULL |
int | samps_in_buffer = 0 |
HBITMAP | easel = NULL |
HBITMAP | weasel = NULL |
double | cEnergy = 0.0 |
double | mEnergy = 0.0 |
int | logEnergy = FALSE |
int | noiseFloor = 0 |
COLORREF | ceColour = RGB(0, 255, 0) |
BOOL | spectrumChanged = TRUE |
double * | pspectrum = NULL |
double | pscale = 1.0 |
double | escale = 0.0 |
int | epposx = 0 |
BOOL | spectrumBarGraph = TRUE |
BOOL | spectrumVoicePrint = FALSE |
BOOL | spectrumTransmitOnly = FALSE |
BOOL | spectrumReceiveOnly = FALSE |
BOOL | spectrumMaxEnergy = FALSE |
BOOL | paintingSpectrum = FALSE |
int | sgposx = 0 |
DWORD | nextSpectrumTime = 0 |
BOOL | disableShown = FALSE |