source: roaraudio/include/libroardsp/libroardsp.h @ 4129:7e48d8df51a3

Last change on this file since 4129:7e48d8df51a3 was 4129:7e48d8df51a3, checked in by phi, 14 years ago

fixed resampler code finnaly, thanks to maister for patches

File size: 2.0 KB
Line 
1//libroardsp.h:
2
3/*
4 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010
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
21 *  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
22 *  Boston, MA 02110-1301, USA.
23 *
24 */
25
26#ifndef _LIBROARDSP_H_
27#define _LIBROARDSP_H_
28
29#include <roaraudio.h>
30
31__BEGIN_DECLS
32
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
41#include "channels.h"
42#include "interleave.h"
43#include "midi.h"
44#include "synth.h"
45#include "poly.h"
46#include "fader.h"
47#include "mixer.h"
48#include "amp.h"
49#include "resampler_poly3.h"
50#include "convert.h"
51#include "midside.h"
52#include "point.h"
53#include "remove.h"
54#include "rms.h"
55#include "filter.h"
56#include "filterchain.h"
57#include "transcode.h"
58#include "vio_transcode.h"
59
60#ifdef ROAR_HAVE_LIBCELT
61#include "transcode_celt.h"
62#endif
63#ifdef ROAR_HAVE_LIBSPEEX
64#include "transcode_speex.h"
65#endif
66
67#ifdef ROAR_HAVE_LIBSAMPLERATE
68#include <samplerate.h>
69#endif
70
71// codecs:
72int roardsp_conv_alaw2pcm16 (int16_t * out, char * in, size_t len);
73int roardsp_conv_pcm162alaw (char * out, int16_t * in, size_t len);
74
75int roardsp_conv_mulaw2pcm16 (int16_t * out, char * in, size_t len);
76int roardsp_conv_pcm162mulaw (char * out, int16_t * in, size_t len);
77
78__END_DECLS
79
80#endif
81
82//ll
Note: See TracBrowser for help on using the repository browser.