source: roaraudio/include/libroardsp/convert.h @ 386:372958bba38d

Last change on this file since 386:372958bba38d was 386:372958bba38d, checked in by phi, 16 years ago

make the resample use a more accorate value for step

File size: 1.2 KB
Line 
1//convert.h:
2
3#ifndef _CONVERT_H_
4#define _CONVERT_H_
5
6#include "libroar.h"
7
8int roar_conv_bits       (void * out, void * in, int samples, int from, int to);
9
10int roar_conv_bits_8to16 (void * out, void * in, int samples);
11int roar_conv_bits_16to8 (void * out, void * in, int samples);
12
13int roar_conv_chans (void * out, void * in, int samples, int from, int to, int bits);
14
15int roar_conv_chans_1ton8  (void * out, void * in, int samples, int to);
16int roar_conv_chans_1ton16 (void * out, void * in, int samples, int to);
17
18int roar_conv_rate    (void * out, void * in, int samples, int from, int to, int bits, int channels);
19int roar_conv_rate_8  (void * out, void * in, int samples, int from, int to, int channels);
20int roar_conv_rate_16 (void * out, void * in, int samples, int from, int to, int channels);
21
22int raor_conv_codec (void * out, void * in, int samples, int from, int to, int bits);
23
24int roar_conv_codec_s2u8 (void * out, void * in, int samples);
25
26int roar_conv       (void * out, void * in, int samples, struct roar_audio_info * from, struct roar_audio_info * to);
27
28
29int roar_conv_poly4_16  (int16_t * out, int16_t * in, size_t olen, size_t ilen);
30int roar_conv_poly4_16s (int16_t * out, int16_t * in, size_t olen, size_t ilen, float step);
31
32#endif
33
34//ll
Note: See TracBrowser for help on using the repository browser.