28 double* out = (
double*)malloc(
sizeof(
double)*size);
31 memcpy(tmp, stream->
buf,
sizeof(
dsp_t)*stream->
len);
33 for(k = 0; k < stream->
len; k++) {
int len
The buffers length.
#define dsp_buffer_set(buf, len, _val)
Fill the buffer with the passed value.
#define dsp_buffer_stretch(buf, len, _mn, _mx)
Stretch minimum and maximum values of the input stream.
#define dsp_stats_min(buf, len)
Gets the minimum value of the input stream.
double * dsp_stats_histogram(dsp_stream_p stream, int size)
Histogram of the inut stream.
#define dsp_stats_max(buf, len)
Gets the maximum value of the input stream.
Contains a set of informations and data relative to a buffer and how to use it.