Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/src/alc/alc_error.h @ 17

Last change on this file since 17 was 17, checked in by landauf, 16 years ago

added openal

File size: 699 bytes
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 */
18ALboolean alcIsError( ALCenum param );
19
20/*
21 * Sets the context-independant error to param, if param is a valid context
22 * error.
23 */
24void _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 */
30const ALubyte *_alcGetErrorString( ALCenum param );
31
32#endif /* _LAL_ALC_ERROR_H_ */
Note: See TracBrowser for help on using the repository browser.