#ifndef _STATS_H #define _STATS_H int stat_signal,stat_gain; float gain=1.0; int datatype; struct utils_param params[] = { {"block_len",STAT_TYPE_INT,1,&datatype}, {"datatype",STAT_TYPE_INT,1,&datatype}, {"gain",STAT_TYPE_FLOAT,1,&gain}, {NULL, 0, 0, 0}}; float outsignal[512]; struct utils_stat stats[] = { {"gain", STAT_TYPE_FLOAT, 1, &stat_gain, (void*)&gain, READ}, {"output_signal", STAT_TYPE_FLOAT, 512, &stat_signal, (void*)outsignal, WRITE}, {NULL, 0, 0, 0, 0, 0}}; #endif /* _STATS_H */