| Line | |
|---|
| 1 | /* -*- mode: C; tab-width:8; c-basic-offset:8 -*- |
|---|
| 2 | * vi:set ts=8: |
|---|
| 3 | * |
|---|
| 4 | * alc_error.h |
|---|
| 5 | * |
|---|
| 6 | * openal alc error reporting. |
|---|
| 7 | */ |
|---|
| 8 | #ifndef _LAL_ALC_ERROR_H_ |
|---|
| 9 | #define _LAL_ALC_ERROR_H_ |
|---|
| 10 | |
|---|
| 11 | #include "al_siteconfig.h" |
|---|
| 12 | |
|---|
| 13 | #include <AL/alc.h> |
|---|
| 14 | |
|---|
| 15 | /* |
|---|
| 16 | * Returns AL_TRUE if param specifies a valid alc error, AL_FALSE otherwise. |
|---|
| 17 | */ |
|---|
| 18 | ALboolean alcIsError( ALCenum param ); |
|---|
| 19 | |
|---|
| 20 | /* |
|---|
| 21 | * Sets the context-independant error to param, if param is a valid context |
|---|
| 22 | * error. |
|---|
| 23 | */ |
|---|
| 24 | void _alcSetError( ALCenum param ); |
|---|
| 25 | |
|---|
| 26 | /* |
|---|
| 27 | * Returns a const ALubyte * string giving a readable representation of the |
|---|
| 28 | * error param, or NULL if param is not an alc error. |
|---|
| 29 | */ |
|---|
| 30 | const ALubyte *_alcGetErrorString( ALCenum param ); |
|---|
| 31 | |
|---|
| 32 | #endif /* _LAL_ALC_ERROR_H_ */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.