oal.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #ifdef __S3E__
  3. #include "openalext.h"
  4. #define ALCdevice _ALCdevice
  5. #define ALCcontext _ALCcontext
  6. #define alDeleteBuffers _alDeleteBuffers
  7. #define alGenBuffers _alGenBuffers
  8. #define alBufferData _alBufferData
  9. #define alGetError _alGetError
  10. #define alSourceQueueBuffers _alSourceQueueBuffers
  11. #define alSourceUnqueueBuffers _alSourceUnqueueBuffers
  12. #define alGetSourcei _alGetSourcei
  13. #define alSourcei _alSourcei
  14. #define alSourcef _alSourcef
  15. #define alSourcePlay _alSourcePlay
  16. #define alSourcePause _alSourcePause
  17. #define alSourceStop _alSourceStop
  18. #define alcMakeContextCurrent _alcMakeContextCurrent
  19. #define alcCreateContext _alcCreateContext
  20. #define alGenSources _alGenSources
  21. #define alcDestroyContext _alcDestroyContext
  22. #define alcOpenDevice _alcOpenDevice
  23. #define alcCloseDevice _alcCloseDevice
  24. #define ALuint _ALuint
  25. #define ALint _ALint
  26. #define ALCint _ALCint
  27. #define ALsizei _ALsizei
  28. #define ALenum _ALenum
  29. #define ALfloat _ALfloat
  30. #define ALCboolean _ALCboolean
  31. #define ALvoid _ALvoid
  32. #else
  33. #include "AL/al.h"
  34. #include "AL/alc.h"
  35. #endif