Statistics
| Branch: | Tag: | Revision:

root / gnuradio-core / src / lib / general / gri_int_to_float.h @ fe2e6f80

History | View | Annotate | Download (1.1 kB)

1 7112e308 Tom Rondeau
/* -*- c++ -*- */
2 7112e308 Tom Rondeau
/*
3 7112e308 Tom Rondeau
 * Copyright 2011 Free Software Foundation, Inc.
4 7112e308 Tom Rondeau
 * 
5 7112e308 Tom Rondeau
 * This file is part of GNU Radio
6 7112e308 Tom Rondeau
 * 
7 7112e308 Tom Rondeau
 * GNU Radio is free software; you can redistribute it and/or modify
8 7112e308 Tom Rondeau
 * it under the terms of the GNU General Public License as published by
9 7112e308 Tom Rondeau
 * the Free Software Foundation; either version 3, or (at your option)
10 7112e308 Tom Rondeau
 * any later version.
11 7112e308 Tom Rondeau
 * 
12 7112e308 Tom Rondeau
 * GNU Radio is distributed in the hope that it will be useful,
13 7112e308 Tom Rondeau
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 7112e308 Tom Rondeau
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 7112e308 Tom Rondeau
 * GNU General Public License for more details.
16 7112e308 Tom Rondeau
 * 
17 7112e308 Tom Rondeau
 * You should have received a copy of the GNU General Public License
18 7112e308 Tom Rondeau
 * along with GNU Radio; see the file COPYING.  If not, write to
19 7112e308 Tom Rondeau
 * the Free Software Foundation, Inc., 51 Franklin Street,
20 7112e308 Tom Rondeau
 * Boston, MA 02110-1301, USA.
21 7112e308 Tom Rondeau
 */
22 7112e308 Tom Rondeau
23 7112e308 Tom Rondeau
#ifndef INCLUDED_GRI_INT_TO_FLOAT_H
24 7112e308 Tom Rondeau
#define INCLUDED_GRI_INT_TO_FLOAT_H
25 7112e308 Tom Rondeau
26 7112e308 Tom Rondeau
#include <gr_core_api.h>
27 7112e308 Tom Rondeau
28 7112e308 Tom Rondeau
/*
29 7112e308 Tom Rondeau
 * convert array of ints to floats
30 7112e308 Tom Rondeau
 */
31 7112e308 Tom Rondeau
GR_CORE_API void gri_int_to_float (const int *in, float *out, int nsamples);
32 7112e308 Tom Rondeau
33 7112e308 Tom Rondeau
34 7112e308 Tom Rondeau
#endif /* INCLUDED_GRI_INT_TO_FLOAT_H */