ALmixer  0.0.5
ALmixer_PlatformExtensions.h
Go to the documentation of this file.
1 /*
2  * Platform specific public APIs are intended to go here.
3  */
4 
5 #ifndef _ALMIXER_PLATFORMEXTENSIONS_H_
6 #define _ALMIXER_PLATFORMEXTENSIONS_H_
7 
8 #ifdef __ANDROID__
9 
10 /* Set up for C function definitions, even when using C++ */
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #include "ALmixer.h"
31 extern ALMIXER_DECLSPEC void ALMIXER_CALL ALmixer_Android_SetApplicationContext(void* application_context);
32 
39 extern ALMIXER_DECLSPEC void* ALMIXER_CALL ALmixer_Android_GetApplicationContext(void);
40 
41 
42 
48 extern ALMIXER_DECLSPEC void* ALMIXER_CALL ALmixer_Android_GetJavaVM(void);
49 
50 
56 extern ALMIXER_DECLSPEC void* ALMIXER_CALL ALmixer_Android_GetJNIEnv(void);
57 
58 
59 
60 
61 /* Ends C function definitions when using C++ */
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif /* #ifdef __ANDROID__ */
67 
68 
69 #endif /* _ALMIXER_PLATFORMEXTENSIONS_H_ */
70 
71 
ALmixer (which I sometimes call "SDL-OpenAL-Mixer" or "SDL_ALmixer") is a cross-platform audio librar...