GNU Radio 3.5.3.2 C++ API
gri_float_to_int.h File Reference
#include <gr_core_api.h>
Include dependency graph for gri_float_to_int.h:

Go to the source code of this file.

Functions

GR_CORE_API void gri_float_to_int (const float *in, int *out, float scale, int nsamples)

Function Documentation

GR_CORE_API void gri_float_to_int ( const float *  in,
int *  out,
float  scale,
int  nsamples 
)

convert array of floats to int with rounding and saturation.