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.

758 lines
33 KiB

  1. #ifndef AL_EFX_H
  2. #define AL_EFX_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define ALC_EXT_EFX_NAME "ALC_EXT_EFX"
  7. #define ALC_EFX_MAJOR_VERSION 0x20001
  8. #define ALC_EFX_MINOR_VERSION 0x20002
  9. #define ALC_MAX_AUXILIARY_SENDS 0x20003
  10. /* Listener properties. */
  11. #define AL_METERS_PER_UNIT 0x20004
  12. /* Source properties. */
  13. #define AL_DIRECT_FILTER 0x20005
  14. #define AL_AUXILIARY_SEND_FILTER 0x20006
  15. #define AL_AIR_ABSORPTION_FACTOR 0x20007
  16. #define AL_ROOM_ROLLOFF_FACTOR 0x20008
  17. #define AL_CONE_OUTER_GAINHF 0x20009
  18. #define AL_DIRECT_FILTER_GAINHF_AUTO 0x2000A
  19. #define AL_AUXILIARY_SEND_FILTER_GAIN_AUTO 0x2000B
  20. #define AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO 0x2000C
  21. /* Effect properties. */
  22. /* Reverb effect parameters */
  23. #define AL_REVERB_DENSITY 0x0001
  24. #define AL_REVERB_DIFFUSION 0x0002
  25. #define AL_REVERB_GAIN 0x0003
  26. #define AL_REVERB_GAINHF 0x0004
  27. #define AL_REVERB_DECAY_TIME 0x0005
  28. #define AL_REVERB_DECAY_HFRATIO 0x0006
  29. #define AL_REVERB_REFLECTIONS_GAIN 0x0007
  30. #define AL_REVERB_REFLECTIONS_DELAY 0x0008
  31. #define AL_REVERB_LATE_REVERB_GAIN 0x0009
  32. #define AL_REVERB_LATE_REVERB_DELAY 0x000A
  33. #define AL_REVERB_AIR_ABSORPTION_GAINHF 0x000B
  34. #define AL_REVERB_ROOM_ROLLOFF_FACTOR 0x000C
  35. #define AL_REVERB_DECAY_HFLIMIT 0x000D
  36. /* EAX Reverb effect parameters */
  37. #define AL_EAXREVERB_DENSITY 0x0001
  38. #define AL_EAXREVERB_DIFFUSION 0x0002
  39. #define AL_EAXREVERB_GAIN 0x0003
  40. #define AL_EAXREVERB_GAINHF 0x0004
  41. #define AL_EAXREVERB_GAINLF 0x0005
  42. #define AL_EAXREVERB_DECAY_TIME 0x0006
  43. #define AL_EAXREVERB_DECAY_HFRATIO 0x0007
  44. #define AL_EAXREVERB_DECAY_LFRATIO 0x0008
  45. #define AL_EAXREVERB_REFLECTIONS_GAIN 0x0009
  46. #define AL_EAXREVERB_REFLECTIONS_DELAY 0x000A
  47. #define AL_EAXREVERB_REFLECTIONS_PAN 0x000B
  48. #define AL_EAXREVERB_LATE_REVERB_GAIN 0x000C
  49. #define AL_EAXREVERB_LATE_REVERB_DELAY 0x000D
  50. #define AL_EAXREVERB_LATE_REVERB_PAN 0x000E
  51. #define AL_EAXREVERB_ECHO_TIME 0x000F
  52. #define AL_EAXREVERB_ECHO_DEPTH 0x0010
  53. #define AL_EAXREVERB_MODULATION_TIME 0x0011
  54. #define AL_EAXREVERB_MODULATION_DEPTH 0x0012
  55. #define AL_EAXREVERB_AIR_ABSORPTION_GAINHF 0x0013
  56. #define AL_EAXREVERB_HFREFERENCE 0x0014
  57. #define AL_EAXREVERB_LFREFERENCE 0x0015
  58. #define AL_EAXREVERB_ROOM_ROLLOFF_FACTOR 0x0016
  59. #define AL_EAXREVERB_DECAY_HFLIMIT 0x0017
  60. /* Chorus effect parameters */
  61. #define AL_CHORUS_WAVEFORM 0x0001
  62. #define AL_CHORUS_PHASE 0x0002
  63. #define AL_CHORUS_RATE 0x0003
  64. #define AL_CHORUS_DEPTH 0x0004
  65. #define AL_CHORUS_FEEDBACK 0x0005
  66. #define AL_CHORUS_DELAY 0x0006
  67. /* Distortion effect parameters */
  68. #define AL_DISTORTION_EDGE 0x0001
  69. #define AL_DISTORTION_GAIN 0x0002
  70. #define AL_DISTORTION_LOWPASS_CUTOFF 0x0003
  71. #define AL_DISTORTION_EQCENTER 0x0004
  72. #define AL_DISTORTION_EQBANDWIDTH 0x0005
  73. /* Echo effect parameters */
  74. #define AL_ECHO_DELAY 0x0001
  75. #define AL_ECHO_LRDELAY 0x0002
  76. #define AL_ECHO_DAMPING 0x0003
  77. #define AL_ECHO_FEEDBACK 0x0004
  78. #define AL_ECHO_SPREAD 0x0005
  79. /* Flanger effect parameters */
  80. #define AL_FLANGER_WAVEFORM 0x0001
  81. #define AL_FLANGER_PHASE 0x0002
  82. #define AL_FLANGER_RATE 0x0003
  83. #define AL_FLANGER_DEPTH 0x0004
  84. #define AL_FLANGER_FEEDBACK 0x0005
  85. #define AL_FLANGER_DELAY 0x0006
  86. /* Frequency shifter effect parameters */
  87. #define AL_FREQUENCY_SHIFTER_FREQUENCY 0x0001
  88. #define AL_FREQUENCY_SHIFTER_LEFT_DIRECTION 0x0002
  89. #define AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION 0x0003
  90. /* Vocal morpher effect parameters */
  91. #define AL_VOCAL_MORPHER_PHONEMEA 0x0001
  92. #define AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING 0x0002
  93. #define AL_VOCAL_MORPHER_PHONEMEB 0x0003
  94. #define AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING 0x0004
  95. #define AL_VOCAL_MORPHER_WAVEFORM 0x0005
  96. #define AL_VOCAL_MORPHER_RATE 0x0006
  97. /* Pitchshifter effect parameters */
  98. #define AL_PITCH_SHIFTER_COARSE_TUNE 0x0001
  99. #define AL_PITCH_SHIFTER_FINE_TUNE 0x0002
  100. /* Ringmodulator effect parameters */
  101. #define AL_RING_MODULATOR_FREQUENCY 0x0001
  102. #define AL_RING_MODULATOR_HIGHPASS_CUTOFF 0x0002
  103. #define AL_RING_MODULATOR_WAVEFORM 0x0003
  104. /* Autowah effect parameters */
  105. #define AL_AUTOWAH_ATTACK_TIME 0x0001
  106. #define AL_AUTOWAH_RELEASE_TIME 0x0002
  107. #define AL_AUTOWAH_RESONANCE 0x0003
  108. #define AL_AUTOWAH_PEAK_GAIN 0x0004
  109. /* Compressor effect parameters */
  110. #define AL_COMPRESSOR_ONOFF 0x0001
  111. /* Equalizer effect parameters */
  112. #define AL_EQUALIZER_LOW_GAIN 0x0001
  113. #define AL_EQUALIZER_LOW_CUTOFF 0x0002
  114. #define AL_EQUALIZER_MID1_GAIN 0x0003
  115. #define AL_EQUALIZER_MID1_CENTER 0x0004
  116. #define AL_EQUALIZER_MID1_WIDTH 0x0005
  117. #define AL_EQUALIZER_MID2_GAIN 0x0006
  118. #define AL_EQUALIZER_MID2_CENTER 0x0007
  119. #define AL_EQUALIZER_MID2_WIDTH 0x0008
  120. #define AL_EQUALIZER_HIGH_GAIN 0x0009
  121. #define AL_EQUALIZER_HIGH_CUTOFF 0x000A
  122. /* Effect type */
  123. #define AL_EFFECT_FIRST_PARAMETER 0x0000
  124. #define AL_EFFECT_LAST_PARAMETER 0x8000
  125. #define AL_EFFECT_TYPE 0x8001
  126. /* Effect types, used with the AL_EFFECT_TYPE property */
  127. #define AL_EFFECT_NULL 0x0000
  128. #define AL_EFFECT_REVERB 0x0001
  129. #define AL_EFFECT_CHORUS 0x0002
  130. #define AL_EFFECT_DISTORTION 0x0003
  131. #define AL_EFFECT_ECHO 0x0004
  132. #define AL_EFFECT_FLANGER 0x0005
  133. #define AL_EFFECT_FREQUENCY_SHIFTER 0x0006
  134. #define AL_EFFECT_VOCAL_MORPHER 0x0007
  135. #define AL_EFFECT_PITCH_SHIFTER 0x0008
  136. #define AL_EFFECT_RING_MODULATOR 0x0009
  137. #define AL_EFFECT_AUTOWAH 0x000A
  138. #define AL_EFFECT_COMPRESSOR 0x000B
  139. #define AL_EFFECT_EQUALIZER 0x000C
  140. #define AL_EFFECT_EAXREVERB 0x8000
  141. /* Auxiliary Effect Slot properties. */
  142. #define AL_EFFECTSLOT_EFFECT 0x0001
  143. #define AL_EFFECTSLOT_GAIN 0x0002
  144. #define AL_EFFECTSLOT_AUXILIARY_SEND_AUTO 0x0003
  145. /* NULL Auxiliary Slot ID to disable a source send. */
  146. #define AL_EFFECTSLOT_NULL 0x0000
  147. /* Filter properties. */
  148. /* Lowpass filter parameters */
  149. #define AL_LOWPASS_GAIN 0x0001
  150. #define AL_LOWPASS_GAINHF 0x0002
  151. /* Highpass filter parameters */
  152. #define AL_HIGHPASS_GAIN 0x0001
  153. #define AL_HIGHPASS_GAINLF 0x0002
  154. /* Bandpass filter parameters */
  155. #define AL_BANDPASS_GAIN 0x0001
  156. #define AL_BANDPASS_GAINLF 0x0002
  157. #define AL_BANDPASS_GAINHF 0x0003
  158. /* Filter type */
  159. #define AL_FILTER_FIRST_PARAMETER 0x0000
  160. #define AL_FILTER_LAST_PARAMETER 0x8000
  161. #define AL_FILTER_TYPE 0x8001
  162. /* Filter types, used with the AL_FILTER_TYPE property */
  163. #define AL_FILTER_NULL 0x0000
  164. #define AL_FILTER_LOWPASS 0x0001
  165. #define AL_FILTER_HIGHPASS 0x0002
  166. #define AL_FILTER_BANDPASS 0x0003
  167. /* Effect object function types. */
  168. typedef void (AL_APIENTRY *LPALGENEFFECTS)(ALsizei, ALuint*);
  169. typedef void (AL_APIENTRY *LPALDELETEEFFECTS)(ALsizei, const ALuint*);
  170. typedef ALboolean (AL_APIENTRY *LPALISEFFECT)(ALuint);
  171. typedef void (AL_APIENTRY *LPALEFFECTI)(ALuint, ALenum, ALint);
  172. typedef void (AL_APIENTRY *LPALEFFECTIV)(ALuint, ALenum, const ALint*);
  173. typedef void (AL_APIENTRY *LPALEFFECTF)(ALuint, ALenum, ALfloat);
  174. typedef void (AL_APIENTRY *LPALEFFECTFV)(ALuint, ALenum, const ALfloat*);
  175. typedef void (AL_APIENTRY *LPALGETEFFECTI)(ALuint, ALenum, ALint*);
  176. typedef void (AL_APIENTRY *LPALGETEFFECTIV)(ALuint, ALenum, ALint*);
  177. typedef void (AL_APIENTRY *LPALGETEFFECTF)(ALuint, ALenum, ALfloat*);
  178. typedef void (AL_APIENTRY *LPALGETEFFECTFV)(ALuint, ALenum, ALfloat*);
  179. /* Filter object function types. */
  180. typedef void (AL_APIENTRY *LPALGENFILTERS)(ALsizei, ALuint*);
  181. typedef void (AL_APIENTRY *LPALDELETEFILTERS)(ALsizei, const ALuint*);
  182. typedef ALboolean (AL_APIENTRY *LPALISFILTER)(ALuint);
  183. typedef void (AL_APIENTRY *LPALFILTERI)(ALuint, ALenum, ALint);
  184. typedef void (AL_APIENTRY *LPALFILTERIV)(ALuint, ALenum, const ALint*);
  185. typedef void (AL_APIENTRY *LPALFILTERF)(ALuint, ALenum, ALfloat);
  186. typedef void (AL_APIENTRY *LPALFILTERFV)(ALuint, ALenum, const ALfloat*);
  187. typedef void (AL_APIENTRY *LPALGETFILTERI)(ALuint, ALenum, ALint*);
  188. typedef void (AL_APIENTRY *LPALGETFILTERIV)(ALuint, ALenum, ALint*);
  189. typedef void (AL_APIENTRY *LPALGETFILTERF)(ALuint, ALenum, ALfloat*);
  190. typedef void (AL_APIENTRY *LPALGETFILTERFV)(ALuint, ALenum, ALfloat*);
  191. /* Auxiliary Effect Slot object function types. */
  192. typedef void (AL_APIENTRY *LPALGENAUXILIARYEFFECTSLOTS)(ALsizei, ALuint*);
  193. typedef void (AL_APIENTRY *LPALDELETEAUXILIARYEFFECTSLOTS)(ALsizei, const ALuint*);
  194. typedef ALboolean (AL_APIENTRY *LPALISAUXILIARYEFFECTSLOT)(ALuint);
  195. typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTI)(ALuint, ALenum, ALint);
  196. typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTIV)(ALuint, ALenum, const ALint*);
  197. typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTF)(ALuint, ALenum, ALfloat);
  198. typedef void (AL_APIENTRY *LPALAUXILIARYEFFECTSLOTFV)(ALuint, ALenum, const ALfloat*);
  199. typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTI)(ALuint, ALenum, ALint*);
  200. typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTIV)(ALuint, ALenum, ALint*);
  201. typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTF)(ALuint, ALenum, ALfloat*);
  202. typedef void (AL_APIENTRY *LPALGETAUXILIARYEFFECTSLOTFV)(ALuint, ALenum, ALfloat*);
  203. #ifdef AL_ALEXT_PROTOTYPES
  204. AL_API ALvoid AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects);
  205. AL_API ALvoid AL_APIENTRY alDeleteEffects(ALsizei n, const ALuint *effects);
  206. AL_API ALboolean AL_APIENTRY alIsEffect(ALuint effect);
  207. AL_API ALvoid AL_APIENTRY alEffecti(ALuint effect, ALenum param, ALint iValue);
  208. AL_API ALvoid AL_APIENTRY alEffectiv(ALuint effect, ALenum param, const ALint *piValues);
  209. AL_API ALvoid AL_APIENTRY alEffectf(ALuint effect, ALenum param, ALfloat flValue);
  210. AL_API ALvoid AL_APIENTRY alEffectfv(ALuint effect, ALenum param, const ALfloat *pflValues);
  211. AL_API ALvoid AL_APIENTRY alGetEffecti(ALuint effect, ALenum param, ALint *piValue);
  212. AL_API ALvoid AL_APIENTRY alGetEffectiv(ALuint effect, ALenum param, ALint *piValues);
  213. AL_API ALvoid AL_APIENTRY alGetEffectf(ALuint effect, ALenum param, ALfloat *pflValue);
  214. AL_API ALvoid AL_APIENTRY alGetEffectfv(ALuint effect, ALenum param, ALfloat *pflValues);
  215. AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters);
  216. AL_API ALvoid AL_APIENTRY alDeleteFilters(ALsizei n, const ALuint *filters);
  217. AL_API ALboolean AL_APIENTRY alIsFilter(ALuint filter);
  218. AL_API ALvoid AL_APIENTRY alFilteri(ALuint filter, ALenum param, ALint iValue);
  219. AL_API ALvoid AL_APIENTRY alFilteriv(ALuint filter, ALenum param, const ALint *piValues);
  220. AL_API ALvoid AL_APIENTRY alFilterf(ALuint filter, ALenum param, ALfloat flValue);
  221. AL_API ALvoid AL_APIENTRY alFilterfv(ALuint filter, ALenum param, const ALfloat *pflValues);
  222. AL_API ALvoid AL_APIENTRY alGetFilteri(ALuint filter, ALenum param, ALint *piValue);
  223. AL_API ALvoid AL_APIENTRY alGetFilteriv(ALuint filter, ALenum param, ALint *piValues);
  224. AL_API ALvoid AL_APIENTRY alGetFilterf(ALuint filter, ALenum param, ALfloat *pflValue);
  225. AL_API ALvoid AL_APIENTRY alGetFilterfv(ALuint filter, ALenum param, ALfloat *pflValues);
  226. AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslots);
  227. AL_API ALvoid AL_APIENTRY alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint *effectslots);
  228. AL_API ALboolean AL_APIENTRY alIsAuxiliaryEffectSlot(ALuint effectslot);
  229. AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSloti(ALuint effectslot, ALenum param, ALint iValue);
  230. AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotiv(ALuint effectslot, ALenum param, const ALint *piValues);
  231. AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotf(ALuint effectslot, ALenum param, ALfloat flValue);
  232. AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, const ALfloat *pflValues);
  233. AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSloti(ALuint effectslot, ALenum param, ALint *piValue);
  234. AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotiv(ALuint effectslot, ALenum param, ALint *piValues);
  235. AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotf(ALuint effectslot, ALenum param, ALfloat *pflValue);
  236. AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, ALfloat *pflValues);
  237. #endif
  238. /* Filter ranges and defaults. */
  239. /* Lowpass filter */
  240. #define AL_LOWPASS_MIN_GAIN (0.0f)
  241. #define AL_LOWPASS_MAX_GAIN (1.0f)
  242. #define AL_LOWPASS_DEFAULT_GAIN (1.0f)
  243. #define AL_LOWPASS_MIN_GAINHF (0.0f)
  244. #define AL_LOWPASS_MAX_GAINHF (1.0f)
  245. #define AL_LOWPASS_DEFAULT_GAINHF (1.0f)
  246. /* Highpass filter */
  247. #define AL_HIGHPASS_MIN_GAIN (0.0f)
  248. #define AL_HIGHPASS_MAX_GAIN (1.0f)
  249. #define AL_HIGHPASS_DEFAULT_GAIN (1.0f)
  250. #define AL_HIGHPASS_MIN_GAINLF (0.0f)
  251. #define AL_HIGHPASS_MAX_GAINLF (1.0f)
  252. #define AL_HIGHPASS_DEFAULT_GAINLF (1.0f)
  253. /* Bandpass filter */
  254. #define AL_BANDPASS_MIN_GAIN (0.0f)
  255. #define AL_BANDPASS_MAX_GAIN (1.0f)
  256. #define AL_BANDPASS_DEFAULT_GAIN (1.0f)
  257. #define AL_BANDPASS_MIN_GAINHF (0.0f)
  258. #define AL_BANDPASS_MAX_GAINHF (1.0f)
  259. #define AL_BANDPASS_DEFAULT_GAINHF (1.0f)
  260. #define AL_BANDPASS_MIN_GAINLF (0.0f)
  261. #define AL_BANDPASS_MAX_GAINLF (1.0f)
  262. #define AL_BANDPASS_DEFAULT_GAINLF (1.0f)
  263. /* Effect parameter ranges and defaults. */
  264. /* Standard reverb effect */
  265. #define AL_REVERB_MIN_DENSITY (0.0f)
  266. #define AL_REVERB_MAX_DENSITY (1.0f)
  267. #define AL_REVERB_DEFAULT_DENSITY (1.0f)
  268. #define AL_REVERB_MIN_DIFFUSION (0.0f)
  269. #define AL_REVERB_MAX_DIFFUSION (1.0f)
  270. #define AL_REVERB_DEFAULT_DIFFUSION (1.0f)
  271. #define AL_REVERB_MIN_GAIN (0.0f)
  272. #define AL_REVERB_MAX_GAIN (1.0f)
  273. #define AL_REVERB_DEFAULT_GAIN (0.32f)
  274. #define AL_REVERB_MIN_GAINHF (0.0f)
  275. #define AL_REVERB_MAX_GAINHF (1.0f)
  276. #define AL_REVERB_DEFAULT_GAINHF (0.89f)
  277. #define AL_REVERB_MIN_DECAY_TIME (0.1f)
  278. #define AL_REVERB_MAX_DECAY_TIME (20.0f)
  279. #define AL_REVERB_DEFAULT_DECAY_TIME (1.49f)
  280. #define AL_REVERB_MIN_DECAY_HFRATIO (0.1f)
  281. #define AL_REVERB_MAX_DECAY_HFRATIO (2.0f)
  282. #define AL_REVERB_DEFAULT_DECAY_HFRATIO (0.83f)
  283. #define AL_REVERB_MIN_REFLECTIONS_GAIN (0.0f)
  284. #define AL_REVERB_MAX_REFLECTIONS_GAIN (3.16f)
  285. #define AL_REVERB_DEFAULT_REFLECTIONS_GAIN (0.05f)
  286. #define AL_REVERB_MIN_REFLECTIONS_DELAY (0.0f)
  287. #define AL_REVERB_MAX_REFLECTIONS_DELAY (0.3f)
  288. #define AL_REVERB_DEFAULT_REFLECTIONS_DELAY (0.007f)
  289. #define AL_REVERB_MIN_LATE_REVERB_GAIN (0.0f)
  290. #define AL_REVERB_MAX_LATE_REVERB_GAIN (10.0f)
  291. #define AL_REVERB_DEFAULT_LATE_REVERB_GAIN (1.26f)
  292. #define AL_REVERB_MIN_LATE_REVERB_DELAY (0.0f)
  293. #define AL_REVERB_MAX_LATE_REVERB_DELAY (0.1f)
  294. #define AL_REVERB_DEFAULT_LATE_REVERB_DELAY (0.011f)
  295. #define AL_REVERB_MIN_AIR_ABSORPTION_GAINHF (0.892f)
  296. #define AL_REVERB_MAX_AIR_ABSORPTION_GAINHF (1.0f)
  297. #define AL_REVERB_DEFAULT_AIR_ABSORPTION_GAINHF (0.994f)
  298. #define AL_REVERB_MIN_ROOM_ROLLOFF_FACTOR (0.0f)
  299. #define AL_REVERB_MAX_ROOM_ROLLOFF_FACTOR (10.0f)
  300. #define AL_REVERB_DEFAULT_ROOM_ROLLOFF_FACTOR (0.0f)
  301. #define AL_REVERB_MIN_DECAY_HFLIMIT AL_FALSE
  302. #define AL_REVERB_MAX_DECAY_HFLIMIT AL_TRUE
  303. #define AL_REVERB_DEFAULT_DECAY_HFLIMIT AL_TRUE
  304. /* EAX reverb effect */
  305. #define AL_EAXREVERB_MIN_DENSITY (0.0f)
  306. #define AL_EAXREVERB_MAX_DENSITY (1.0f)
  307. #define AL_EAXREVERB_DEFAULT_DENSITY (1.0f)
  308. #define AL_EAXREVERB_MIN_DIFFUSION (0.0f)
  309. #define AL_EAXREVERB_MAX_DIFFUSION (1.0f)
  310. #define AL_EAXREVERB_DEFAULT_DIFFUSION (1.0f)
  311. #define AL_EAXREVERB_MIN_GAIN (0.0f)
  312. #define AL_EAXREVERB_MAX_GAIN (1.0f)
  313. #define AL_EAXREVERB_DEFAULT_GAIN (0.32f)
  314. #define AL_EAXREVERB_MIN_GAINHF (0.0f)
  315. #define AL_EAXREVERB_MAX_GAINHF (1.0f)
  316. #define AL_EAXREVERB_DEFAULT_GAINHF (0.89f)
  317. #define AL_EAXREVERB_MIN_GAINLF (0.0f)
  318. #define AL_EAXREVERB_MAX_GAINLF (1.0f)
  319. #define AL_EAXREVERB_DEFAULT_GAINLF (1.0f)
  320. #define AL_EAXREVERB_MIN_DECAY_TIME (0.1f)
  321. #define AL_EAXREVERB_MAX_DECAY_TIME (20.0f)
  322. #define AL_EAXREVERB_DEFAULT_DECAY_TIME (1.49f)
  323. #define AL_EAXREVERB_MIN_DECAY_HFRATIO (0.1f)
  324. #define AL_EAXREVERB_MAX_DECAY_HFRATIO (2.0f)
  325. #define AL_EAXREVERB_DEFAULT_DECAY_HFRATIO (0.83f)
  326. #define AL_EAXREVERB_MIN_DECAY_LFRATIO (0.1f)
  327. #define AL_EAXREVERB_MAX_DECAY_LFRATIO (2.0f)
  328. #define AL_EAXREVERB_DEFAULT_DECAY_LFRATIO (1.0f)
  329. #define AL_EAXREVERB_MIN_REFLECTIONS_GAIN (0.0f)
  330. #define AL_EAXREVERB_MAX_REFLECTIONS_GAIN (3.16f)
  331. #define AL_EAXREVERB_DEFAULT_REFLECTIONS_GAIN (0.05f)
  332. #define AL_EAXREVERB_MIN_REFLECTIONS_DELAY (0.0f)
  333. #define AL_EAXREVERB_MAX_REFLECTIONS_DELAY (0.3f)
  334. #define AL_EAXREVERB_DEFAULT_REFLECTIONS_DELAY (0.007f)
  335. #define AL_EAXREVERB_DEFAULT_REFLECTIONS_PAN_XYZ (0.0f)
  336. #define AL_EAXREVERB_MIN_LATE_REVERB_GAIN (0.0f)
  337. #define AL_EAXREVERB_MAX_LATE_REVERB_GAIN (10.0f)
  338. #define AL_EAXREVERB_DEFAULT_LATE_REVERB_GAIN (1.26f)
  339. #define AL_EAXREVERB_MIN_LATE_REVERB_DELAY (0.0f)
  340. #define AL_EAXREVERB_MAX_LATE_REVERB_DELAY (0.1f)
  341. #define AL_EAXREVERB_DEFAULT_LATE_REVERB_DELAY (0.011f)
  342. #define AL_EAXREVERB_DEFAULT_LATE_REVERB_PAN_XYZ (0.0f)
  343. #define AL_EAXREVERB_MIN_ECHO_TIME (0.075f)
  344. #define AL_EAXREVERB_MAX_ECHO_TIME (0.25f)
  345. #define AL_EAXREVERB_DEFAULT_ECHO_TIME (0.25f)
  346. #define AL_EAXREVERB_MIN_ECHO_DEPTH (0.0f)
  347. #define AL_EAXREVERB_MAX_ECHO_DEPTH (1.0f)
  348. #define AL_EAXREVERB_DEFAULT_ECHO_DEPTH (0.0f)
  349. #define AL_EAXREVERB_MIN_MODULATION_TIME (0.04f)
  350. #define AL_EAXREVERB_MAX_MODULATION_TIME (4.0f)
  351. #define AL_EAXREVERB_DEFAULT_MODULATION_TIME (0.25f)
  352. #define AL_EAXREVERB_MIN_MODULATION_DEPTH (0.0f)
  353. #define AL_EAXREVERB_MAX_MODULATION_DEPTH (1.0f)
  354. #define AL_EAXREVERB_DEFAULT_MODULATION_DEPTH (0.0f)
  355. #define AL_EAXREVERB_MIN_AIR_ABSORPTION_GAINHF (0.892f)
  356. #define AL_EAXREVERB_MAX_AIR_ABSORPTION_GAINHF (1.0f)
  357. #define AL_EAXREVERB_DEFAULT_AIR_ABSORPTION_GAINHF (0.994f)
  358. #define AL_EAXREVERB_MIN_HFREFERENCE (1000.0f)
  359. #define AL_EAXREVERB_MAX_HFREFERENCE (20000.0f)
  360. #define AL_EAXREVERB_DEFAULT_HFREFERENCE (5000.0f)
  361. #define AL_EAXREVERB_MIN_LFREFERENCE (20.0f)
  362. #define AL_EAXREVERB_MAX_LFREFERENCE (1000.0f)
  363. #define AL_EAXREVERB_DEFAULT_LFREFERENCE (250.0f)
  364. #define AL_EAXREVERB_MIN_ROOM_ROLLOFF_FACTOR (0.0f)
  365. #define AL_EAXREVERB_MAX_ROOM_ROLLOFF_FACTOR (10.0f)
  366. #define AL_EAXREVERB_DEFAULT_ROOM_ROLLOFF_FACTOR (0.0f)
  367. #define AL_EAXREVERB_MIN_DECAY_HFLIMIT AL_FALSE
  368. #define AL_EAXREVERB_MAX_DECAY_HFLIMIT AL_TRUE
  369. #define AL_EAXREVERB_DEFAULT_DECAY_HFLIMIT AL_TRUE
  370. /* Chorus effect */
  371. #define AL_CHORUS_WAVEFORM_SINUSOID (0)
  372. #define AL_CHORUS_WAVEFORM_TRIANGLE (1)
  373. #define AL_CHORUS_MIN_WAVEFORM (0)
  374. #define AL_CHORUS_MAX_WAVEFORM (1)
  375. #define AL_CHORUS_DEFAULT_WAVEFORM (1)
  376. #define AL_CHORUS_MIN_PHASE (-180)
  377. #define AL_CHORUS_MAX_PHASE (180)
  378. #define AL_CHORUS_DEFAULT_PHASE (90)
  379. #define AL_CHORUS_MIN_RATE (0.0f)
  380. #define AL_CHORUS_MAX_RATE (10.0f)
  381. #define AL_CHORUS_DEFAULT_RATE (1.1f)
  382. #define AL_CHORUS_MIN_DEPTH (0.0f)
  383. #define AL_CHORUS_MAX_DEPTH (1.0f)
  384. #define AL_CHORUS_DEFAULT_DEPTH (0.1f)
  385. #define AL_CHORUS_MIN_FEEDBACK (-1.0f)
  386. #define AL_CHORUS_MAX_FEEDBACK (1.0f)
  387. #define AL_CHORUS_DEFAULT_FEEDBACK (0.25f)
  388. #define AL_CHORUS_MIN_DELAY (0.0f)
  389. #define AL_CHORUS_MAX_DELAY (0.016f)
  390. #define AL_CHORUS_DEFAULT_DELAY (0.016f)
  391. /* Distortion effect */
  392. #define AL_DISTORTION_MIN_EDGE (0.0f)
  393. #define AL_DISTORTION_MAX_EDGE (1.0f)
  394. #define AL_DISTORTION_DEFAULT_EDGE (0.2f)
  395. #define AL_DISTORTION_MIN_GAIN (0.01f)
  396. #define AL_DISTORTION_MAX_GAIN (1.0f)
  397. #define AL_DISTORTION_DEFAULT_GAIN (0.05f)
  398. #define AL_DISTORTION_MIN_LOWPASS_CUTOFF (80.0f)
  399. #define AL_DISTORTION_MAX_LOWPASS_CUTOFF (24000.0f)
  400. #define AL_DISTORTION_DEFAULT_LOWPASS_CUTOFF (8000.0f)
  401. #define AL_DISTORTION_MIN_EQCENTER (80.0f)
  402. #define AL_DISTORTION_MAX_EQCENTER (24000.0f)
  403. #define AL_DISTORTION_DEFAULT_EQCENTER (3600.0f)
  404. #define AL_DISTORTION_MIN_EQBANDWIDTH (80.0f)
  405. #define AL_DISTORTION_MAX_EQBANDWIDTH (24000.0f)
  406. #define AL_DISTORTION_DEFAULT_EQBANDWIDTH (3600.0f)
  407. /* Echo effect */
  408. #define AL_ECHO_MIN_DELAY (0.0f)
  409. #define AL_ECHO_MAX_DELAY (0.207f)
  410. #define AL_ECHO_DEFAULT_DELAY (0.1f)
  411. #define AL_ECHO_MIN_LRDELAY (0.0f)
  412. #define AL_ECHO_MAX_LRDELAY (0.404f)
  413. #define AL_ECHO_DEFAULT_LRDELAY (0.1f)
  414. #define AL_ECHO_MIN_DAMPING (0.0f)
  415. #define AL_ECHO_MAX_DAMPING (0.99f)
  416. #define AL_ECHO_DEFAULT_DAMPING (0.5f)
  417. #define AL_ECHO_MIN_FEEDBACK (0.0f)
  418. #define AL_ECHO_MAX_FEEDBACK (1.0f)
  419. #define AL_ECHO_DEFAULT_FEEDBACK (0.5f)
  420. #define AL_ECHO_MIN_SPREAD (-1.0f)
  421. #define AL_ECHO_MAX_SPREAD (1.0f)
  422. #define AL_ECHO_DEFAULT_SPREAD (-1.0f)
  423. /* Flanger effect */
  424. #define AL_FLANGER_WAVEFORM_SINUSOID (0)
  425. #define AL_FLANGER_WAVEFORM_TRIANGLE (1)
  426. #define AL_FLANGER_MIN_WAVEFORM (0)
  427. #define AL_FLANGER_MAX_WAVEFORM (1)
  428. #define AL_FLANGER_DEFAULT_WAVEFORM (1)
  429. #define AL_FLANGER_MIN_PHASE (-180)
  430. #define AL_FLANGER_MAX_PHASE (180)
  431. #define AL_FLANGER_DEFAULT_PHASE (0)
  432. #define AL_FLANGER_MIN_RATE (0.0f)
  433. #define AL_FLANGER_MAX_RATE (10.0f)
  434. #define AL_FLANGER_DEFAULT_RATE (0.27f)
  435. #define AL_FLANGER_MIN_DEPTH (0.0f)
  436. #define AL_FLANGER_MAX_DEPTH (1.0f)
  437. #define AL_FLANGER_DEFAULT_DEPTH (1.0f)
  438. #define AL_FLANGER_MIN_FEEDBACK (-1.0f)
  439. #define AL_FLANGER_MAX_FEEDBACK (1.0f)
  440. #define AL_FLANGER_DEFAULT_FEEDBACK (-0.5f)
  441. #define AL_FLANGER_MIN_DELAY (0.0f)
  442. #define AL_FLANGER_MAX_DELAY (0.004f)
  443. #define AL_FLANGER_DEFAULT_DELAY (0.002f)
  444. /* Frequency shifter effect */
  445. #define AL_FREQUENCY_SHIFTER_MIN_FREQUENCY (0.0f)
  446. #define AL_FREQUENCY_SHIFTER_MAX_FREQUENCY (24000.0f)
  447. #define AL_FREQUENCY_SHIFTER_DEFAULT_FREQUENCY (0.0f)
  448. #define AL_FREQUENCY_SHIFTER_MIN_LEFT_DIRECTION (0)
  449. #define AL_FREQUENCY_SHIFTER_MAX_LEFT_DIRECTION (2)
  450. #define AL_FREQUENCY_SHIFTER_DEFAULT_LEFT_DIRECTION (0)
  451. #define AL_FREQUENCY_SHIFTER_DIRECTION_DOWN (0)
  452. #define AL_FREQUENCY_SHIFTER_DIRECTION_UP (1)
  453. #define AL_FREQUENCY_SHIFTER_DIRECTION_OFF (2)
  454. #define AL_FREQUENCY_SHIFTER_MIN_RIGHT_DIRECTION (0)
  455. #define AL_FREQUENCY_SHIFTER_MAX_RIGHT_DIRECTION (2)
  456. #define AL_FREQUENCY_SHIFTER_DEFAULT_RIGHT_DIRECTION (0)
  457. /* Vocal morpher effect */
  458. #define AL_VOCAL_MORPHER_MIN_PHONEMEA (0)
  459. #define AL_VOCAL_MORPHER_MAX_PHONEMEA (29)
  460. #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEA (0)
  461. #define AL_VOCAL_MORPHER_MIN_PHONEMEA_COARSE_TUNING (-24)
  462. #define AL_VOCAL_MORPHER_MAX_PHONEMEA_COARSE_TUNING (24)
  463. #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEA_COARSE_TUNING (0)
  464. #define AL_VOCAL_MORPHER_MIN_PHONEMEB (0)
  465. #define AL_VOCAL_MORPHER_MAX_PHONEMEB (29)
  466. #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEB (10)
  467. #define AL_VOCAL_MORPHER_MIN_PHONEMEB_COARSE_TUNING (-24)
  468. #define AL_VOCAL_MORPHER_MAX_PHONEMEB_COARSE_TUNING (24)
  469. #define AL_VOCAL_MORPHER_DEFAULT_PHONEMEB_COARSE_TUNING (0)
  470. #define AL_VOCAL_MORPHER_PHONEME_A (0)
  471. #define AL_VOCAL_MORPHER_PHONEME_E (1)
  472. #define AL_VOCAL_MORPHER_PHONEME_I (2)
  473. #define AL_VOCAL_MORPHER_PHONEME_O (3)
  474. #define AL_VOCAL_MORPHER_PHONEME_U (4)
  475. #define AL_VOCAL_MORPHER_PHONEME_AA (5)
  476. #define AL_VOCAL_MORPHER_PHONEME_AE (6)
  477. #define AL_VOCAL_MORPHER_PHONEME_AH (7)
  478. #define AL_VOCAL_MORPHER_PHONEME_AO (8)
  479. #define AL_VOCAL_MORPHER_PHONEME_EH (9)
  480. #define AL_VOCAL_MORPHER_PHONEME_ER (10)
  481. #define AL_VOCAL_MORPHER_PHONEME_IH (11)
  482. #define AL_VOCAL_MORPHER_PHONEME_IY (12)
  483. #define AL_VOCAL_MORPHER_PHONEME_UH (13)
  484. #define AL_VOCAL_MORPHER_PHONEME_UW (14)
  485. #define AL_VOCAL_MORPHER_PHONEME_B (15)
  486. #define AL_VOCAL_MORPHER_PHONEME_D (16)
  487. #define AL_VOCAL_MORPHER_PHONEME_F (17)
  488. #define AL_VOCAL_MORPHER_PHONEME_G (18)
  489. #define AL_VOCAL_MORPHER_PHONEME_J (19)
  490. #define AL_VOCAL_MORPHER_PHONEME_K (20)
  491. #define AL_VOCAL_MORPHER_PHONEME_L (21)
  492. #define AL_VOCAL_MORPHER_PHONEME_M (22)
  493. #define AL_VOCAL_MORPHER_PHONEME_N (23)
  494. #define AL_VOCAL_MORPHER_PHONEME_P (24)
  495. #define AL_VOCAL_MORPHER_PHONEME_R (25)
  496. #define AL_VOCAL_MORPHER_PHONEME_S (26)
  497. #define AL_VOCAL_MORPHER_PHONEME_T (27)
  498. #define AL_VOCAL_MORPHER_PHONEME_V (28)
  499. #define AL_VOCAL_MORPHER_PHONEME_Z (29)
  500. #define AL_VOCAL_MORPHER_WAVEFORM_SINUSOID (0)
  501. #define AL_VOCAL_MORPHER_WAVEFORM_TRIANGLE (1)
  502. #define AL_VOCAL_MORPHER_WAVEFORM_SAWTOOTH (2)
  503. #define AL_VOCAL_MORPHER_MIN_WAVEFORM (0)
  504. #define AL_VOCAL_MORPHER_MAX_WAVEFORM (2)
  505. #define AL_VOCAL_MORPHER_DEFAULT_WAVEFORM (0)
  506. #define AL_VOCAL_MORPHER_MIN_RATE (0.0f)
  507. #define AL_VOCAL_MORPHER_MAX_RATE (10.0f)
  508. #define AL_VOCAL_MORPHER_DEFAULT_RATE (1.41f)
  509. /* Pitch shifter effect */
  510. #define AL_PITCH_SHIFTER_MIN_COARSE_TUNE (-12)
  511. #define AL_PITCH_SHIFTER_MAX_COARSE_TUNE (12)
  512. #define AL_PITCH_SHIFTER_DEFAULT_COARSE_TUNE (12)
  513. #define AL_PITCH_SHIFTER_MIN_FINE_TUNE (-50)
  514. #define AL_PITCH_SHIFTER_MAX_FINE_TUNE (50)
  515. #define AL_PITCH_SHIFTER_DEFAULT_FINE_TUNE (0)
  516. /* Ring modulator effect */
  517. #define AL_RING_MODULATOR_MIN_FREQUENCY (0.0f)
  518. #define AL_RING_MODULATOR_MAX_FREQUENCY (8000.0f)
  519. #define AL_RING_MODULATOR_DEFAULT_FREQUENCY (440.0f)
  520. #define AL_RING_MODULATOR_MIN_HIGHPASS_CUTOFF (0.0f)
  521. #define AL_RING_MODULATOR_MAX_HIGHPASS_CUTOFF (24000.0f)
  522. #define AL_RING_MODULATOR_DEFAULT_HIGHPASS_CUTOFF (800.0f)
  523. #define AL_RING_MODULATOR_SINUSOID (0)
  524. #define AL_RING_MODULATOR_SAWTOOTH (1)
  525. #define AL_RING_MODULATOR_SQUARE (2)
  526. #define AL_RING_MODULATOR_MIN_WAVEFORM (0)
  527. #define AL_RING_MODULATOR_MAX_WAVEFORM (2)
  528. #define AL_RING_MODULATOR_DEFAULT_WAVEFORM (0)
  529. /* Autowah effect */
  530. #define AL_AUTOWAH_MIN_ATTACK_TIME (0.0001f)
  531. #define AL_AUTOWAH_MAX_ATTACK_TIME (1.0f)
  532. #define AL_AUTOWAH_DEFAULT_ATTACK_TIME (0.06f)
  533. #define AL_AUTOWAH_MIN_RELEASE_TIME (0.0001f)
  534. #define AL_AUTOWAH_MAX_RELEASE_TIME (1.0f)
  535. #define AL_AUTOWAH_DEFAULT_RELEASE_TIME (0.06f)
  536. #define AL_AUTOWAH_MIN_RESONANCE (2.0f)
  537. #define AL_AUTOWAH_MAX_RESONANCE (1000.0f)
  538. #define AL_AUTOWAH_DEFAULT_RESONANCE (1000.0f)
  539. #define AL_AUTOWAH_MIN_PEAK_GAIN (0.00003f)
  540. #define AL_AUTOWAH_MAX_PEAK_GAIN (31621.0f)
  541. #define AL_AUTOWAH_DEFAULT_PEAK_GAIN (11.22f)
  542. /* Compressor effect */
  543. #define AL_COMPRESSOR_MIN_ONOFF (0)
  544. #define AL_COMPRESSOR_MAX_ONOFF (1)
  545. #define AL_COMPRESSOR_DEFAULT_ONOFF (1)
  546. /* Equalizer effect */
  547. #define AL_EQUALIZER_MIN_LOW_GAIN (0.126f)
  548. #define AL_EQUALIZER_MAX_LOW_GAIN (7.943f)
  549. #define AL_EQUALIZER_DEFAULT_LOW_GAIN (1.0f)
  550. #define AL_EQUALIZER_MIN_LOW_CUTOFF (50.0f)
  551. #define AL_EQUALIZER_MAX_LOW_CUTOFF (800.0f)
  552. #define AL_EQUALIZER_DEFAULT_LOW_CUTOFF (200.0f)
  553. #define AL_EQUALIZER_MIN_MID1_GAIN (0.126f)
  554. #define AL_EQUALIZER_MAX_MID1_GAIN (7.943f)
  555. #define AL_EQUALIZER_DEFAULT_MID1_GAIN (1.0f)
  556. #define AL_EQUALIZER_MIN_MID1_CENTER (200.0f)
  557. #define AL_EQUALIZER_MAX_MID1_CENTER (3000.0f)
  558. #define AL_EQUALIZER_DEFAULT_MID1_CENTER (500.0f)
  559. #define AL_EQUALIZER_MIN_MID1_WIDTH (0.01f)
  560. #define AL_EQUALIZER_MAX_MID1_WIDTH (1.0f)
  561. #define AL_EQUALIZER_DEFAULT_MID1_WIDTH (1.0f)
  562. #define AL_EQUALIZER_MIN_MID2_GAIN (0.126f)
  563. #define AL_EQUALIZER_MAX_MID2_GAIN (7.943f)
  564. #define AL_EQUALIZER_DEFAULT_MID2_GAIN (1.0f)
  565. #define AL_EQUALIZER_MIN_MID2_CENTER (1000.0f)
  566. #define AL_EQUALIZER_MAX_MID2_CENTER (8000.0f)
  567. #define AL_EQUALIZER_DEFAULT_MID2_CENTER (3000.0f)
  568. #define AL_EQUALIZER_MIN_MID2_WIDTH (0.01f)
  569. #define AL_EQUALIZER_MAX_MID2_WIDTH (1.0f)
  570. #define AL_EQUALIZER_DEFAULT_MID2_WIDTH (1.0f)
  571. #define AL_EQUALIZER_MIN_HIGH_GAIN (0.126f)
  572. #define AL_EQUALIZER_MAX_HIGH_GAIN (7.943f)
  573. #define AL_EQUALIZER_DEFAULT_HIGH_GAIN (1.0f)
  574. #define AL_EQUALIZER_MIN_HIGH_CUTOFF (4000.0f)
  575. #define AL_EQUALIZER_MAX_HIGH_CUTOFF (16000.0f)
  576. #define AL_EQUALIZER_DEFAULT_HIGH_CUTOFF (6000.0f)
  577. /* Source parameter value ranges and defaults. */
  578. #define AL_MIN_AIR_ABSORPTION_FACTOR (0.0f)
  579. #define AL_MAX_AIR_ABSORPTION_FACTOR (10.0f)
  580. #define AL_DEFAULT_AIR_ABSORPTION_FACTOR (0.0f)
  581. #define AL_MIN_ROOM_ROLLOFF_FACTOR (0.0f)
  582. #define AL_MAX_ROOM_ROLLOFF_FACTOR (10.0f)
  583. #define AL_DEFAULT_ROOM_ROLLOFF_FACTOR (0.0f)
  584. #define AL_MIN_CONE_OUTER_GAINHF (0.0f)
  585. #define AL_MAX_CONE_OUTER_GAINHF (1.0f)
  586. #define AL_DEFAULT_CONE_OUTER_GAINHF (1.0f)
  587. #define AL_MIN_DIRECT_FILTER_GAINHF_AUTO AL_FALSE
  588. #define AL_MAX_DIRECT_FILTER_GAINHF_AUTO AL_TRUE
  589. #define AL_DEFAULT_DIRECT_FILTER_GAINHF_AUTO AL_TRUE
  590. #define AL_MIN_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_FALSE
  591. #define AL_MAX_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_TRUE
  592. #define AL_DEFAULT_AUXILIARY_SEND_FILTER_GAIN_AUTO AL_TRUE
  593. #define AL_MIN_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_FALSE
  594. #define AL_MAX_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_TRUE
  595. #define AL_DEFAULT_AUXILIARY_SEND_FILTER_GAINHF_AUTO AL_TRUE
  596. /* Listener parameter value ranges and defaults. */
  597. #define AL_MIN_METERS_PER_UNIT FLT_MIN
  598. #define AL_MAX_METERS_PER_UNIT FLT_MAX
  599. #define AL_DEFAULT_METERS_PER_UNIT (1.0f)
  600. #ifdef __cplusplus
  601. } /* extern "C" */
  602. #endif
  603. #endif /* AL_EFX_H */