GNU Radio 3.6.5 C++ API

gri_float_to_int.h File Reference

#include <gr_core_api.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.