1 | //poly.h: |
---|
2 | |
---|
3 | // was math.h |
---|
4 | |
---|
5 | /* |
---|
6 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008, 2009 |
---|
7 | * |
---|
8 | * This file is part of libroar a part of RoarAudio, |
---|
9 | * a cross-platform sound system for both, home and professional use. |
---|
10 | * See README for details. |
---|
11 | * |
---|
12 | * This file is free software; you can redistribute it and/or modify |
---|
13 | * it under the terms of the GNU General Public License version 3 |
---|
14 | * as published by the Free Software Foundation. |
---|
15 | * |
---|
16 | * libroar is distributed in the hope that it will be useful, |
---|
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
19 | * GNU General Public License for more details. |
---|
20 | * |
---|
21 | * You should have received a copy of the GNU General Public License |
---|
22 | * along with this software; see the file COPYING. If not, write to |
---|
23 | * the Free Software Foundation, 51 Franklin Street, Fifth Floor, |
---|
24 | * Boston, MA 02110-1301, USA. |
---|
25 | * |
---|
26 | * NOTE for everyone want's to change something and send patches: |
---|
27 | * read README and HACKING! There a addition information on |
---|
28 | * the license of this document you need to read before you send |
---|
29 | * any patches. |
---|
30 | * |
---|
31 | * NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc |
---|
32 | * or libpulse*: |
---|
33 | * The libs libroaresd, libroararts and libroarpulse link this lib |
---|
34 | * and are therefore GPL. Because of this it may be illigal to use |
---|
35 | * them with any software that uses libesd, libartsc or libpulse*. |
---|
36 | */ |
---|
37 | |
---|
38 | #ifndef _LIBROARMATH_H_ |
---|
39 | #define _LIBROARMATH_H_ |
---|
40 | |
---|
41 | #include "libroardsp.h" |
---|
42 | |
---|
43 | int roar_math_mkpoly (float * poly, float * data, int len); |
---|
44 | |
---|
45 | int roar_math_mkpoly_2x2 (float * poly, float * data); |
---|
46 | int roar_math_mkpoly_3x3 (float * poly, float * data); |
---|
47 | int roar_math_mkpoly_4x4 (float * poly, float * data); |
---|
48 | int roar_math_mkpoly_5x5 (float * poly, float * data); |
---|
49 | |
---|
50 | float roar_math_cvpoly (float * poly, float t, int len); |
---|
51 | float roar_math_cvpoly_4x4 (float * poly, float t); |
---|
52 | |
---|
53 | #endif |
---|
54 | |
---|
55 | //ll |
---|