Free Electron
alhelpers.h
1 #ifndef ALHELPERS_H
2 #define ALHELPERS_H
3 
4 #include "AL/alc.h"
5 #include "AL/al.h"
6 #include "AL/alext.h"
7 
8 #include "threads.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif /* __cplusplus */
13 
14 /* Some helper functions to get the name from the format enums. */
15 const char *FormatName(ALenum type);
16 
17 /* Easy device init/deinit functions. InitAL returns 0 on success. */
18 int InitAL(char ***argv, int *argc);
19 void CloseAL(void);
20 
21 #ifdef __cplusplus
22 }
23 #endif /* __cplusplus */
24 
25 #endif /* ALHELPERS_H */