1 | //convert.h: |
---|
2 | |
---|
3 | #ifndef _CONVERT_H_ |
---|
4 | #define _CONVERT_H_ |
---|
5 | |
---|
6 | #include "libroar.h" |
---|
7 | |
---|
8 | int roar_conv_bits (void * out, void * in, int samples, int from, int to); |
---|
9 | |
---|
10 | int roar_conv_bits_8to16 (void * out, void * in, int samples); |
---|
11 | int roar_conv_bits_16to8 (void * out, void * in, int samples); |
---|
12 | |
---|
13 | int roar_conv_chans (void * out, void * in, int samples, int from, int to, int bits); |
---|
14 | |
---|
15 | int roar_conv_chans_1ton8 (void * out, void * in, int samples, int to); |
---|
16 | int roar_conv_chans_1ton16 (void * out, void * in, int samples, int to); |
---|
17 | |
---|
18 | int roar_conv_rate (void * out, void * in, int samples, int from, int to, int bits, int channels); |
---|
19 | int roar_conv_rate_8 (void * out, void * in, int samples, int from, int to, int channels); |
---|
20 | int roar_conv_rate_16 (void * out, void * in, int samples, int from, int to, int channels); |
---|
21 | |
---|
22 | int raor_conv_codec (void * out, void * in, int samples, int from, int to, int bits); |
---|
23 | |
---|
24 | int roar_conv_codec_s2u8 (void * out, void * in, int samples); |
---|
25 | |
---|
26 | int roar_conv (void * out, void * in, int samples, struct roar_audio_info * from, struct roar_audio_info * to); |
---|
27 | |
---|
28 | #endif |
---|
29 | |
---|
30 | //ll |
---|