openalbridge/openalwrap.h
changeset 2211 288360b78f30
parent 2210 1cb7118a77dd
child 2212 6b5da1a2765a
equal deleted inserted replaced
2210:1cb7118a77dd 2211:288360b78f30
    27 #ifndef _WIN32
    27 #ifndef _WIN32
    28 #include <pthread.h>
    28 #include <pthread.h>
    29 #include <stdint.h>
    29 #include <stdint.h>
    30 #else
    30 #else
    31 #define WIN32_LEAN_AND_MEAN
    31 #define WIN32_LEAN_AND_MEAN
    32 #include <windows.h>
    32 #include <process.h>
    33 #include "winstdint.h"
    33 #include "winstdint.h"
    34 #endif
    34 #endif
    35 
    35 
    36 
    36 
    37 #ifdef __CPLUSPLUS
    37 #ifdef __CPLUSPLUS
    47 	ALint	openal_setvolume		(int index, unsigned char percentage);
    47 	ALint	openal_setvolume		(int index, unsigned char percentage);
    48 	ALint	openal_setglobalvolume	(unsigned char percentage);
    48 	ALint	openal_setglobalvolume	(unsigned char percentage);
    49 	ALint	openal_togglemute		(void);
    49 	ALint	openal_togglemute		(void);
    50 	ALint	openal_fadeout			(int index, unsigned int quantity);
    50 	ALint	openal_fadeout			(int index, unsigned int quantity);
    51 	ALint	openal_fadein			(int index, unsigned int quantity);
    51 	ALint	openal_fadein			(int index, unsigned int quantity);
       
    52 	ALint	openal_fade				(int index, unsigned int quantity, char direction);
    52 	ALint	openal_playsound		(int index);	
    53 	ALint	openal_playsound		(int index);	
    53 	ALint	openal_pausesound		(int index);
    54 	ALint	openal_pausesound		(int index);
    54 	ALint	openal_stopsound		(int index);
    55 	ALint	openal_stopsound		(int index);
    55 	
    56 	
       
    57 #define FADE_IN		11
       
    58 #define FADE_OUT	12
    56 #ifdef __CPLUSPLUS
    59 #ifdef __CPLUSPLUS
    57 }
    60 }
    58 #endif
    61 #endif