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
/
testFilter.c
blob
7e5129f17d15c4ca8c1c214086b268f6a894e15c
1
#include <bcl/bcl.h>
2
#include <stdio.h>
3
4
main
(
int
argc
,
char
* *
argv
) {
5
initAudio
();
6
int
s1
=
loadSound
(
argv
[
1
]);
7
int
s2
=
loadSound
(
argv
[
2
]);
8
setSoundLowpass
(
s1
,
1
);
9
// setSoundLowpass(s2,1);
10
setSoundPosition
(
s1
,-
1.0
f
,
0.0
f
,
0.0
f
);
11
setSoundPosition
(
s2
,
1.0
f
,
0.0
f
,
0.0
f
);
12
playSound
(
s1
);
13
playSound
(
s2
);
14
getchar
();
15
terminateAudio
();
16
return
0
;
17
}