Mercurial > fife-parpg
view ext/openal-soft/OpenAL32/Include/alBuffer.h @ 202:1d9154c535cf
fixed bug where the root directory path name was being added to the filename twice. It was initially added in the listFiles/listDirectories functions and then added again in the private function list. I modified the code so it is only added in the list function now.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 13 Mar 2009 03:05:14 +0000 |
parents | 4a0efb7baf70 |
children |
line wrap: on
line source
#ifndef _AL_BUFFER_H_ #define _AL_BUFFER_H_ #include "AL/al.h" #ifdef __cplusplus extern "C" { #endif #define UNUSED 0 #define PENDING 1 #define PROCESSED 2 typedef struct ALbuffer_struct { ALenum format; ALenum eOriginalFormat; ALshort *data; ALsizei size; ALsizei frequency; ALenum state; ALuint refcount; // Number of sources using this buffer (deletion can only occur when this is 0) struct ALbuffer_struct *next; } ALbuffer; ALvoid ReleaseALBuffers(ALvoid); #ifdef __cplusplus } #endif #endif