openalbridge/openalwrap.h
changeset 2212 6b5da1a2765a
parent 2211 288360b78f30
child 2213 bd51bbf06033
equal deleted inserted replaced
2211:288360b78f30 2212:6b5da1a2765a
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
    19 #include <stdio.h>
    19 #include "globals.h"
    20 #include <stdlib.h>
       
    21 #include "al.h"
       
    22 #include "alc.h"
       
    23 #include "loaders.h"
       
    24 #include "wrappers.h"
       
    25 #include "endianness.h"
       
    26 
       
    27 #ifndef _WIN32
       
    28 #include <pthread.h>
       
    29 #include <stdint.h>
       
    30 #else
       
    31 #define WIN32_LEAN_AND_MEAN
       
    32 #include <process.h>
       
    33 #include "winstdint.h"
       
    34 #endif
       
    35 
    20 
    36 
    21 
    37 #ifdef __CPLUSPLUS
    22 #ifdef __CPLUSPLUS
    38 extern "C" {
    23 extern "C" {
    39 #endif 
    24 #endif 
    52 	ALint	openal_fade				(int index, unsigned int quantity, char direction);
    37 	ALint	openal_fade				(int index, unsigned int quantity, char direction);
    53 	ALint	openal_playsound		(int index);	
    38 	ALint	openal_playsound		(int index);	
    54 	ALint	openal_pausesound		(int index);
    39 	ALint	openal_pausesound		(int index);
    55 	ALint	openal_stopsound		(int index);
    40 	ALint	openal_stopsound		(int index);
    56 	
    41 	
    57 #define FADE_IN		11
       
    58 #define FADE_OUT	12
       
    59 #ifdef __CPLUSPLUS
    42 #ifdef __CPLUSPLUS
    60 }
    43 }
    61 #endif
    44 #endif