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

Go to the source code of this file.

Functions

BLOCKS_API void float_array_to_uchar (const float *in, unsigned char *out, int nsamples)

Function Documentation

BLOCKS_API void float_array_to_uchar ( const float *  in,
unsigned char *  out,
int  nsamples 
)

convert array of floats to unsigned chars with rounding and saturation.