GNU Radio v3.6.2-149-ga6d285d9 C++ API
float_array_to_int.h File Reference
#include <blocks/api.h>

Go to the source code of this file.

Functions

BLOCKS_API void float_array_to_int (const float *in, int *out, float scale, int nsamples)

Function Documentation

BLOCKS_API void float_array_to_int ( const float *  in,
int *  out,
float  scale,
int  nsamples 
)

convert array of floats to int with rounding and saturation.