using sizeof(int) instead of 4
[bcl.git] / audio.h
blobd03d028a91aec09f01b129586d79714092be5406
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);
18 #endif