🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
554 B

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