} | } | ||||
static void PeaksZero(peak_t *sp, peak_t *zero) | |||||
{ | |||||
int pk; | |||||
memcpy(zero,sp,sizeof(peak_t)*N_PEAKS); | |||||
for(pk=0; pk<N_PEAKS; pk++) | |||||
zero[pk].pkheight = 0; | |||||
} | |||||
static SpectFrame *SpectFrameCreate() | static SpectFrame *SpectFrameCreate() | ||||
{ | { | ||||
int ix; | int ix; |