🛠️🐜 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.

92 lines
3.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 ALC_SOFT_loopback_bformat
  10. #define ALC_SOFT_loopback_bformat 1
  11. #define ALC_AMBISONIC_LAYOUT_SOFT 0x1997
  12. #define ALC_AMBISONIC_SCALING_SOFT 0x1998
  13. #define ALC_AMBISONIC_ORDER_SOFT 0x1999
  14. #define ALC_MAX_AMBISONIC_ORDER_SOFT 0x199B
  15. #define ALC_BFORMAT3D_SOFT 0x1508
  16. /* Ambisonic layouts */
  17. #define ALC_FUMA_SOFT 0x0000
  18. #define ALC_ACN_SOFT 0x0001
  19. /* Ambisonic scalings (normalization) */
  20. /*#define ALC_FUMA_SOFT*/
  21. #define ALC_SN3D_SOFT 0x0001
  22. #define ALC_N3D_SOFT 0x0002
  23. #endif
  24. #ifndef AL_SOFT_map_buffer
  25. #define AL_SOFT_map_buffer 1
  26. typedef unsigned int ALbitfieldSOFT;
  27. #define AL_MAP_READ_BIT_SOFT 0x00000001
  28. #define AL_MAP_WRITE_BIT_SOFT 0x00000002
  29. #define AL_MAP_PERSISTENT_BIT_SOFT 0x00000004
  30. #define AL_PRESERVE_DATA_BIT_SOFT 0x00000008
  31. typedef void (AL_APIENTRY*LPALBUFFERSTORAGESOFT)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq, ALbitfieldSOFT flags);
  32. typedef void* (AL_APIENTRY*LPALMAPBUFFERSOFT)(ALuint buffer, ALsizei offset, ALsizei length, ALbitfieldSOFT access);
  33. typedef void (AL_APIENTRY*LPALUNMAPBUFFERSOFT)(ALuint buffer);
  34. typedef void (AL_APIENTRY*LPALFLUSHMAPPEDBUFFERSOFT)(ALuint buffer, ALsizei offset, ALsizei length);
  35. #ifdef AL_ALEXT_PROTOTYPES
  36. AL_API void AL_APIENTRY alBufferStorageSOFT(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq, ALbitfieldSOFT flags);
  37. AL_API void* AL_APIENTRY alMapBufferSOFT(ALuint buffer, ALsizei offset, ALsizei length, ALbitfieldSOFT access);
  38. AL_API void AL_APIENTRY alUnmapBufferSOFT(ALuint buffer);
  39. AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, ALsizei length);
  40. #endif
  41. #endif
  42. #ifndef AL_SOFT_events
  43. #define AL_SOFT_events 1
  44. #define AL_EVENT_CALLBACK_FUNCTION_SOFT 0x1220
  45. #define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0x1221
  46. #define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0x1222
  47. #define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0x1223
  48. #define AL_EVENT_TYPE_ERROR_SOFT 0x1224
  49. #define AL_EVENT_TYPE_PERFORMANCE_SOFT 0x1225
  50. #define AL_EVENT_TYPE_DEPRECATED_SOFT 0x1226
  51. #define AL_EVENT_TYPE_DISCONNECTED_SOFT 0x1227
  52. typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param,
  53. ALsizei length, const ALchar *message,
  54. void *userParam);
  55. typedef void (AL_APIENTRY*LPALEVENTCONTROLSOFT)(ALsizei count, const ALenum *types, ALboolean enable);
  56. typedef void (AL_APIENTRY*LPALEVENTCALLBACKSOFT)(ALEVENTPROCSOFT callback, void *userParam);
  57. typedef void* (AL_APIENTRY*LPALGETPOINTERSOFT)(ALenum pname);
  58. typedef void (AL_APIENTRY*LPALGETPOINTERVSOFT)(ALenum pname, void **values);
  59. #ifdef AL_ALEXT_PROTOTYPES
  60. AL_API void AL_APIENTRY alEventControlSOFT(ALsizei count, const ALenum *types, ALboolean enable);
  61. AL_API void AL_APIENTRY alEventCallbackSOFT(ALEVENTPROCSOFT callback, void *userParam);
  62. AL_API void* AL_APIENTRY alGetPointerSOFT(ALenum pname);
  63. AL_API void AL_APIENTRY alGetPointervSOFT(ALenum pname, void **values);
  64. #endif
  65. #endif
  66. #ifndef AL_SOFT_buffer_layers
  67. #define AL_SOFT_buffer_layers
  68. typedef void (AL_APIENTRY*LPALSOURCEQUEUEBUFFERLAYERSSOFT)(ALuint src, ALsizei nb, const ALuint *buffers);
  69. #ifdef AL_ALEXT_PROTOTYPES
  70. AL_API void AL_APIENTRY alSourceQueueBufferLayersSOFT(ALuint src, ALsizei nb, const ALuint *buffers);
  71. #endif
  72. #endif
  73. #ifndef AL_SOFT_effect_chain
  74. #define AL_SOFT_effect_chain
  75. #define AL_EFFECTSLOT_TARGET_SOFT 0xf000
  76. #endif
  77. #ifdef __cplusplus
  78. } /* extern "C" */
  79. #endif
  80. #endif /* INPROGEXT_H */