[2442] | 1 | //poly.h: |
---|
| 2 | |
---|
| 3 | // was math.h |
---|
[29] | 4 | |
---|
[690] | 5 | /* |
---|
[2442] | 6 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008, 2009 |
---|
[690] | 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, 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
| 24 | * |
---|
| 25 | * NOTE for everyone want's to change something and send patches: |
---|
| 26 | * read README and HACKING! There a addition information on |
---|
| 27 | * the license of this document you need to read before you send |
---|
| 28 | * any patches. |
---|
| 29 | * |
---|
| 30 | * NOTE for uses of non-GPL (LGPL,...) software using libesd, libartsc |
---|
| 31 | * or libpulse*: |
---|
| 32 | * The libs libroaresd, libroararts and libroarpulse link this lib |
---|
| 33 | * and are therefore GPL. Because of this it may be illigal to use |
---|
| 34 | * them with any software that uses libesd, libartsc or libpulse*. |
---|
| 35 | */ |
---|
| 36 | |
---|
[29] | 37 | #ifndef _LIBROARMATH_H_ |
---|
| 38 | #define _LIBROARMATH_H_ |
---|
| 39 | |
---|
[1370] | 40 | #include "libroardsp.h" |
---|
[29] | 41 | |
---|
[30] | 42 | int roar_math_mkpoly (float * poly, float * data, int len); |
---|
| 43 | |
---|
| 44 | int roar_math_mkpoly_2x2 (float * poly, float * data); |
---|
| 45 | int roar_math_mkpoly_3x3 (float * poly, float * data); |
---|
| 46 | int roar_math_mkpoly_4x4 (float * poly, float * data); |
---|
| 47 | int roar_math_mkpoly_5x5 (float * poly, float * data); |
---|
| 48 | |
---|
[2442] | 49 | float roar_math_cvpoly (float * poly, float t, int len); |
---|
[383] | 50 | float roar_math_cvpoly_4x4 (float * poly, float t); |
---|
[30] | 51 | |
---|
[29] | 52 | #endif |
---|
| 53 | |
---|
| 54 | //ll |
---|