repo.or.cz
/
bcl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed makefile.
[bcl.git]
/
tests
/
test3d.c
blob
e90c1439d36821551bcccba28b70e8f7fc6ed77b
1
#include
"../bcl.h"
2
#include <stdio.h>
3
4
main
(
int
argc
,
char
* *
argv
) {
5
initAudio
();
6
int
sound
=
loadSound
(
argv
[
1
]);
7
printf
(
"%d
\n
"
,
sound
);
8
float
i
= -
50.0
f
;
9
loopSound
(
sound
);
10
for
(;
i
<
50.0
f
;
i
+=
1.0
f
) {
11
setSoundPosition
(
sound
,
i
,
0.0
f
,
0.0
f
);
12
delay
(
200
);
13
}
14
getchar
();
15
unloadSound
(
sound
);
16
terminateAudio
();
17
return
0
;
18
}