#include <gri_float_to_short.h>
#include <math.h>

Defines | |
| #define | _ISOC9X_SOURCE |
Functions | |
| void | gri_float_to_short (const float *in, short *out, int nsamples) |
| #define _ISOC9X_SOURCE |
| void gri_float_to_short | ( | const float * | in, | |
| short * | out, | |||
| int | nsamples | |||
| ) |
convert array of floats to shorts with rounding and saturation.
Referenced by gr_float_to_short::work().
1.5.5