summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/uchar_array_to_float.h
blob: 5114a39edf95878d083e72170d1dd6f415c24b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -*- c++ -*- */
/*
 * Copyright 2005, 2012 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

#ifndef INCLUDED_UCHAR_ARRAY_TO_FLOAT_H
#define INCLUDED_UCHAR_ARRAY_TO_FLOAT_H

#include <gnuradio/blocks/api.h>

/*
 * convert array of unsigned chars to floats
 */
BLOCKS_API void uchar_array_to_float(const unsigned char* in, float* out, int nsamples);


#endif /* INCLUDED_UCHAR_ARRAY_TO_FLOAT_H */