# define AL_ILLEGAL_ENUM AL_INVALID_ENUM
# define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
# include <OpenAL/al.h>
+# include <OpenAL/alc.h>
# include <OpenAL/alut.h>
#else
# include <AL/al.h>
+# include <AL/alc.h>
# include <AL/alut.h>
#endif
void bind();
void unbind();
void update(double dt);
+ void update_late(double dt);
void suspend();
void resume();
*/
void release_source( unsigned int source );
- bool load(string &samplepath, void **data, int *format, unsigned int*size,
- int *freq );
+ static bool load(string &samplepath, void **data, int *format,
+ unsigned int*size, int *freq );
private: