had a stab at my incorrect pointer code
[bcl.git] / tests / testALMusic.c
blobd9c8542a22a5159be07fc3beb502cea4d4be722a
1 #include "../bcl.h"
2 #include <stdlib.h>
4 main(int argc, char * * argv) {
5 initEnvironment();
6 initAudio();
7 int sound = streamSound(argv[1]);
8 loopSound(sound);
9 while (!isKeyDown('q')) {
10 delay(10);
11 pumpEvents();
13 stopSound(sound);
14 unloadSound(sound);
15 terminateAudio();
16 terminateEnvironment();
17 exit(0);
18 return 0;