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

Go to the source code of this file.

Functions

GR_CORE_API void gri_float_to_short (const float *in, short *out, int nsamples)

Function Documentation

GR_CORE_API void gri_float_to_short ( const float *  in,
short *  out,
int  nsamples 
)

convert array of floats to shorts with rounding and saturation.