had a stab at my incorrect pointer code
[bcl.git] / tests / test3d.c
blobe90c1439d36821551bcccba28b70e8f7fc6ed77b
1 #include "../bcl.h"
2 #include <stdio.h>
4 main(int argc, char * * argv) {
5 initAudio();
6 int sound = loadSound(argv[1]);
7 printf("%d\n", sound);
8 float i = -50.0f;
9 loopSound(sound);
10 for (;i < 50.0f; i+=1.0f) {
11 setSoundPosition(sound,i,0.0f,0.0f);
12 delay(200);
14 getchar();
15 unloadSound(sound);
16 terminateAudio();
17 return 0;