etlegacy-libs/openal/examples/common/alhelpers.h

26 lines
488 B
C
Raw Normal View History

2015-12-12 21:07:33 +00:00
#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 */
2017-07-01 14:18:03 +00:00
/* Some helper functions to get the name from the format enums. */
const char *FormatName(ALenum type);
2015-12-12 21:07:33 +00:00
/* Easy device init/deinit functions. InitAL returns 0 on success. */
2017-07-01 14:18:03 +00:00
int InitAL(char ***argv, int *argc);
2015-12-12 21:07:33 +00:00
void CloseAL(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* ALHELPERS_H */