[651] | 1 | //libroardsp.h: |
---|
| 2 | |
---|
[687] | 3 | /* |
---|
[3318] | 4 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010 |
---|
[687] | 5 | * |
---|
| 6 | * This file is part of libroardsp a part of RoarAudio, |
---|
| 7 | * a cross-platform sound system for both, home and professional use. |
---|
| 8 | * See README for details. |
---|
| 9 | * |
---|
| 10 | * This file is free software; you can redistribute it and/or modify |
---|
| 11 | * it under the terms of the GNU General Public License version 3 |
---|
| 12 | * as published by the Free Software Foundation. |
---|
| 13 | * |
---|
| 14 | * libroardsp is distributed in the hope that it will be useful, |
---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 17 | * GNU General Public License for more details. |
---|
| 18 | * |
---|
| 19 | * You should have received a copy of the GNU General Public License |
---|
| 20 | * along with this software; see the file COPYING. If not, write to |
---|
[3517] | 21 | * the Free Software Foundation, 51 Franklin Street, Fifth Floor, |
---|
| 22 | * Boston, MA 02110-1301, USA. |
---|
[687] | 23 | * |
---|
| 24 | */ |
---|
| 25 | |
---|
[651] | 26 | #ifndef _LIBROARDSP_H_ |
---|
| 27 | #define _LIBROARDSP_H_ |
---|
| 28 | |
---|
[652] | 29 | #include <roaraudio.h> |
---|
| 30 | |
---|
[874] | 31 | __BEGIN_DECLS |
---|
| 32 | |
---|
[2992] | 33 | // enable Speex preprocessing and better type handling if speex > 1.1.8 |
---|
| 34 | #ifdef ROAR_HAVE_LIBSPEEX |
---|
| 35 | #include <speex/speex.h> |
---|
| 36 | #ifdef _SPEEX_TYPES_H |
---|
| 37 | #include <speex/speex_preprocess.h> |
---|
| 38 | #endif |
---|
| 39 | #endif |
---|
| 40 | |
---|
[3325] | 41 | #include "channels.h" |
---|
[3034] | 42 | #include "interleave.h" |
---|
[686] | 43 | #include "midi.h" |
---|
[2425] | 44 | #include "synth.h" |
---|
[1368] | 45 | #include "poly.h" |
---|
[2434] | 46 | #include "fader.h" |
---|
[2929] | 47 | #include "mixer.h" |
---|
[2934] | 48 | #include "amp.h" |
---|
[1371] | 49 | #include "convert.h" |
---|
[1626] | 50 | #include "midside.h" |
---|
[2026] | 51 | #include "point.h" |
---|
[2143] | 52 | #include "remove.h" |
---|
[2316] | 53 | #include "rms.h" |
---|
[3318] | 54 | #include "filter.h" |
---|
| 55 | #include "filterchain.h" |
---|
[2169] | 56 | #include "transcode.h" |
---|
[2638] | 57 | #include "vio_transcode.h" |
---|
[686] | 58 | |
---|
[2187] | 59 | #ifdef ROAR_HAVE_LIBCELT |
---|
| 60 | #include "transcode_celt.h" |
---|
| 61 | #endif |
---|
[2294] | 62 | #ifdef ROAR_HAVE_LIBSPEEX |
---|
| 63 | #include "transcode_speex.h" |
---|
| 64 | #endif |
---|
[2187] | 65 | |
---|
[2386] | 66 | #ifdef ROAR_HAVE_LIBSAMPLERATE |
---|
| 67 | #include <samplerate.h> |
---|
| 68 | #endif |
---|
| 69 | |
---|
[735] | 70 | // codecs: |
---|
| 71 | int roardsp_conv_alaw2pcm16 (int16_t * out, char * in, size_t len); |
---|
[816] | 72 | int roardsp_conv_pcm162alaw (char * out, int16_t * in, size_t len); |
---|
[735] | 73 | |
---|
[922] | 74 | int roardsp_conv_mulaw2pcm16 (int16_t * out, char * in, size_t len); |
---|
| 75 | int roardsp_conv_pcm162mulaw (char * out, int16_t * in, size_t len); |
---|
| 76 | |
---|
[874] | 77 | __END_DECLS |
---|
| 78 | |
---|
[651] | 79 | #endif |
---|
| 80 | |
---|
| 81 | //ll |
---|