Added 'win32dist' Makefile target.
[ahxm.git] / stress.c
blobb92961bc3039575623a0d872968b93b8f3703eb8
1 #include <stdio.h>
3 #include "config.h"
4 #include "ahxm.h"
6 int main(int argc, char *argv[])
8 int n;
9 sample_t s;
10 struct ss_wave *w;
12 printf("load samples/amen1.wav\n");
13 w = ss_load_wav_file("samples/amen1.wav", 440, 440, 440, 0, 0, 0, 0);
15 printf("load some samples from wave\n");
17 for (n = 0; n < 10; n++)
18 printf("%lf\n", ss_get_sample(w, 0, (double) n));
20 printf("again, load same samples from wave\n");
22 for (n = 0; n < 10; n++)
23 printf("%lf\n", ss_get_sample(w, 0, (double) n));
25 return 0;