alhelpers.h 488 B

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