source:
roaraudio/roarclients/polytest.c
@
407:a43c820dc93c
Last change on this file since 407:a43c820dc93c was 387:82bc53da6dd5, checked in by phi, 16 years ago | |
---|---|
File size: 317 bytes |
Rev | Line | |
---|---|---|
[384] | 1 | //polytest.c: |
2 | ||
3 | #include <roaraudio.h> | |
4 | ||
5 | #define MAX 1024 | |
6 | ||
7 | int main (void) { | |
8 | int16_t in[MAX]; | |
9 | int16_t out[MAX]; | |
10 | size_t il = 10; | |
[387] | 11 | size_t ol = 20; |
[384] | 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.