mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 00:54:47 +00:00
34 lines
446 B
C
34 lines
446 B
C
|
#ifndef _AL_DATABUFFER_H_
|
||
|
#define _AL_DATABUFFER_H_
|
||
|
|
||
|
#include "AL/al.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#define UNMAPPED 0
|
||
|
#define MAPPED 1
|
||
|
|
||
|
typedef struct ALdatabuffer
|
||
|
{
|
||
|
ALubyte *data;
|
||
|
ALintptrEXT size;
|
||
|
|
||
|
ALenum state;
|
||
|
ALenum usage;
|
||
|
|
||
|
/* Index to self */
|
||
|
ALuint databuffer;
|
||
|
|
||
|
struct ALdatabuffer *next;
|
||
|
} ALdatabuffer;
|
||
|
|
||
|
ALvoid ReleaseALDatabuffers(ALCdevice *device);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|