diff options
Diffstat (limited to 'OpenAL32/Include/alDatabuffer.h')
-rw-r--r-- | OpenAL32/Include/alDatabuffer.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenAL32/Include/alDatabuffer.h b/OpenAL32/Include/alDatabuffer.h index f50450f0..82594265 100644 --- a/OpenAL32/Include/alDatabuffer.h +++ b/OpenAL32/Include/alDatabuffer.h @@ -12,14 +12,14 @@ extern "C" { typedef struct ALdatabuffer { - ALubyte *data; - ALuint size; - ALenum state; + ALubyte *data; + ALintptrEXT size; - ALenum usage; + ALenum state; + ALenum usage; /* Index to self */ - ALuint databuffer; + ALuint databuffer; struct ALdatabuffer *next; } ALdatabuffer; @@ -28,9 +28,9 @@ ALvoid ALAPIENTRY alGenDatabuffersEXT(ALsizei n,ALuint *puiBuffers); ALvoid ALAPIENTRY alDeleteDatabuffersEXT(ALsizei n, const ALuint *puiBuffers); ALboolean ALAPIENTRY alIsDatabufferEXT(ALuint uiBuffer); -ALvoid ALAPIENTRY alDatabufferDataEXT(ALuint buffer,const ALvoid *data,ALsizei size,ALenum usage); -ALvoid ALAPIENTRY alDatabufferSubDataEXT(ALuint buffer, ALuint start, ALsizei length, const ALvoid *data); -ALvoid ALAPIENTRY alGetDatabufferSubDataEXT(ALuint buffer, ALuint start, ALsizei length, ALvoid *data); +ALvoid ALAPIENTRY alDatabufferDataEXT(ALuint buffer,const ALvoid *data,ALsizeiptrEXT size,ALenum usage); +ALvoid ALAPIENTRY alDatabufferSubDataEXT(ALuint buffer, ALintptrEXT start, ALsizeiptrEXT length, const ALvoid *data); +ALvoid ALAPIENTRY alGetDatabufferSubDataEXT(ALuint buffer, ALintptrEXT start, ALsizeiptrEXT length, ALvoid *data); ALvoid ALAPIENTRY alDatabufferfEXT(ALuint buffer, ALenum eParam, ALfloat flValue); ALvoid ALAPIENTRY alDatabufferfvEXT(ALuint buffer, ALenum eParam, const ALfloat* flValues); @@ -43,7 +43,7 @@ ALvoid ALAPIENTRY alGetDatabufferivEXT(ALuint buffer, ALenum eParam, ALint* plVa ALvoid ALAPIENTRY alSelectDatabufferEXT(ALenum target, ALuint uiBuffer); -ALvoid* ALAPIENTRY alMapDatabufferEXT(ALuint uiBuffer, ALuint start, ALsizei length, ALenum access); +ALvoid* ALAPIENTRY alMapDatabufferEXT(ALuint uiBuffer, ALintptrEXT start, ALsizeiptrEXT length, ALenum access); ALvoid ALAPIENTRY alUnmapDatabufferEXT(ALuint uiBuffer); ALvoid ReleaseALDatabuffers(ALCdevice *device); |