source: roaraudio/roarclients/polytest.c @ 387:82bc53da6dd5

Last change on this file since 387:82bc53da6dd5 was 387:82bc53da6dd5, checked in by phi, 16 years ago

we want to test upsampling

File size: 317 bytes
Line 
1//polytest.c:
2
3#include <roaraudio.h>
4
5#define MAX 1024
6
7int main (void) {
8 int16_t  in[MAX];
9 int16_t out[MAX];
10 size_t il = 10;
11 size_t ol = 20;
12 int i;
13
14 for (i = 0; i < il; i++)
15  scanf("%i", &in[i]);
16
17 roar_conv_poly4_16(out, in, ol, il);
18
19 for (i = 0; i < ol; i++)
20  printf("%i\n", out[i]);
21
22 return 0;
23}
24
25//ll
Note: See TracBrowser for help on using the repository browser.