🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.9 KiB

  1. #ifndef INPROGEXT_H
  2. #define INPROGEXT_H
  3. #include "AL/al.h"
  4. #include "AL/alc.h"
  5. #include "AL/alext.h"
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. #ifndef AL_SOFT_map_buffer
  10. #define AL_SOFT_map_buffer 1
  11. typedef unsigned int ALbitfieldSOFT;
  12. #define AL_MAP_READ_BIT_SOFT 0x00000001
  13. #define AL_MAP_WRITE_BIT_SOFT 0x00000002
  14. #define AL_MAP_PERSISTENT_BIT_SOFT 0x00000004
  15. #define AL_PRESERVE_DATA_BIT_SOFT 0x00000008
  16. typedef void (AL_APIENTRY*LPALBUFFERSTORAGESOFT)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq, ALbitfieldSOFT flags);
  17. typedef void* (AL_APIENTRY*LPALMAPBUFFERSOFT)(ALuint buffer, ALsizei offset, ALsizei length, ALbitfieldSOFT access);
  18. typedef void (AL_APIENTRY*LPALUNMAPBUFFERSOFT)(ALuint buffer);
  19. typedef void (AL_APIENTRY*LPALFLUSHMAPPEDBUFFERSOFT)(ALuint buffer, ALsizei offset, ALsizei length);
  20. #ifdef AL_ALEXT_PROTOTYPES
  21. AL_API void AL_APIENTRY alBufferStorageSOFT(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq, ALbitfieldSOFT flags);
  22. AL_API void* AL_APIENTRY alMapBufferSOFT(ALuint buffer, ALsizei offset, ALsizei length, ALbitfieldSOFT access);
  23. AL_API void AL_APIENTRY alUnmapBufferSOFT(ALuint buffer);
  24. AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, ALsizei length);
  25. #endif
  26. #endif
  27. #ifndef AL_SOFT_bformat_hoa
  28. #define AL_SOFT_bformat_hoa
  29. #define AL_UNPACK_AMBISONIC_ORDER_SOFT 0x199D
  30. #endif
  31. #ifndef AL_SOFT_convolution_reverb
  32. #define AL_SOFT_convolution_reverb
  33. #define AL_EFFECT_CONVOLUTION_REVERB_SOFT 0xA000
  34. #define AL_EFFECTSLOT_STATE_SOFT 0x199D
  35. typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTPLAYSOFT)(ALuint slotid);
  36. typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTPLAYVSOFT)(ALsizei n, const ALuint *slotids);
  37. typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTSTOPSOFT)(ALuint slotid);
  38. typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTSTOPVSOFT)(ALsizei n, const ALuint *slotids);
  39. #ifdef AL_ALEXT_PROTOTYPES
  40. AL_API void AL_APIENTRY alAuxiliaryEffectSlotPlaySOFT(ALuint slotid);
  41. AL_API void AL_APIENTRY alAuxiliaryEffectSlotPlayvSOFT(ALsizei n, const ALuint *slotids);
  42. AL_API void AL_APIENTRY alAuxiliaryEffectSlotStopSOFT(ALuint slotid);
  43. AL_API void AL_APIENTRY alAuxiliaryEffectSlotStopvSOFT(ALsizei n, const ALuint *slotids);
  44. #endif
  45. #endif
  46. #ifndef AL_SOFT_hold_on_disconnect
  47. #define AL_SOFT_hold_on_disconnect
  48. #define AL_STOP_SOURCES_ON_DISCONNECT_SOFT 0x19AB
  49. #endif
  50. /* Non-standard export. Not part of any extension. */
  51. AL_API const ALchar* AL_APIENTRY alsoft_get_version(void);
  52. /* Functions from abandoned extenions. Only here for binary compatibility. */
  53. AL_API void AL_APIENTRY alSourceQueueBufferLayersSOFT(ALuint src, ALsizei nb,
  54. const ALuint *buffers);
  55. AL_API ALint64SOFT AL_APIENTRY alGetInteger64SOFT(ALenum pname);
  56. AL_API void AL_APIENTRY alGetInteger64vSOFT(ALenum pname, ALint64SOFT *values);
  57. #ifdef __cplusplus
  58. } /* extern "C" */
  59. #endif
  60. #endif /* INPROGEXT_H */