Fixed makefile.
[bcl.git] / audio.h
blobe9fa926b67d0ed5136270c6ccae5814fd7d161fe
1 #ifndef _audio_h
2 #define _audio_h
4 DECLSPEC void initAudio();
5 DECLSPEC void terminateAudio();
6 DECLSPEC int streamSound(char * file);
7 DECLSPEC int loadSound(char * file);
8 DECLSPEC void unloadSound(int sound);
9 DECLSPEC void setSoundPosition(int sound, float x, float y, float z);
10 DECLSPEC void playSound(int sound);
11 DECLSPEC void loopSound(int sound);
12 DECLSPEC void stopSound(int sound);
13 DECLSPEC void setSoundPitch(int sound, float pitch);
14 DECLSPEC void setListenerPosition(float x, float y, float z);
15 DECLSPEC void setSoundLowpass(int sound, int lp);
16 DECLSPEC int getSoundLowpass(int sound);
17 DECLSPEC int isSoundPlaying(int sound);
18 DECLSPEC void setSoundGain(int sound, float gain);
19 DECLSPEC void setListenerOrientation(float x1, float y1, float z1, float x2, float y2, float z2);
20 #endif