mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-02-24 12:11:11 +00:00
25 lines
488 B
C
25 lines
488 B
C
#ifndef ALHELPERS_H
|
|
#define ALHELPERS_H
|
|
|
|
#include "AL/alc.h"
|
|
#include "AL/al.h"
|
|
#include "AL/alext.h"
|
|
|
|
#include "threads.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* Some helper functions to get the name from the format enums. */
|
|
const char *FormatName(ALenum type);
|
|
|
|
/* Easy device init/deinit functions. InitAL returns 0 on success. */
|
|
int InitAL(char ***argv, int *argc);
|
|
void CloseAL(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* ALHELPERS_H */
|