source:
roaraudio/roarclients/polytest.c
@
479:d0db9bb95bc5
Last change on this file since 479:d0db9bb95bc5 was 387:82bc53da6dd5, checked in by phi, 16 years ago | |
---|---|
File size: 317 bytes |
Line | |
---|---|
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; |
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.