Update a comment for abandoned extension functions
[openal-soft.git] / alc / inprogext.h
blob7643e5a4a736529875f1bed5b6882bcd20d5ca30
1 #ifndef INPROGEXT_H
2 #define INPROGEXT_H
4 #include "AL/al.h"
5 #include "AL/alc.h"
6 #include "AL/alext.h"
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 #ifndef AL_SOFT_map_buffer
13 #define AL_SOFT_map_buffer 1
14 typedef unsigned int ALbitfieldSOFT;
15 #define AL_MAP_READ_BIT_SOFT 0x00000001
16 #define AL_MAP_WRITE_BIT_SOFT 0x00000002
17 #define AL_MAP_PERSISTENT_BIT_SOFT 0x00000004
18 #define AL_PRESERVE_DATA_BIT_SOFT 0x00000008
19 typedef void (AL_APIENTRY*LPALBUFFERSTORAGESOFT)(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq, ALbitfieldSOFT flags);
20 typedef void* (AL_APIENTRY*LPALMAPBUFFERSOFT)(ALuint buffer, ALsizei offset, ALsizei length, ALbitfieldSOFT access);
21 typedef void (AL_APIENTRY*LPALUNMAPBUFFERSOFT)(ALuint buffer);
22 typedef void (AL_APIENTRY*LPALFLUSHMAPPEDBUFFERSOFT)(ALuint buffer, ALsizei offset, ALsizei length);
23 #ifdef AL_ALEXT_PROTOTYPES
24 AL_API void AL_APIENTRY alBufferStorageSOFT(ALuint buffer, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq, ALbitfieldSOFT flags);
25 AL_API void* AL_APIENTRY alMapBufferSOFT(ALuint buffer, ALsizei offset, ALsizei length, ALbitfieldSOFT access);
26 AL_API void AL_APIENTRY alUnmapBufferSOFT(ALuint buffer);
27 AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, ALsizei length);
28 #endif
29 #endif
31 #ifndef AL_SOFT_bformat_hoa
32 #define AL_SOFT_bformat_hoa
33 #define AL_UNPACK_AMBISONIC_ORDER_SOFT 0x199D
34 #endif
36 #ifndef AL_SOFT_convolution_reverb
37 #define AL_SOFT_convolution_reverb
38 #define AL_EFFECT_CONVOLUTION_REVERB_SOFT 0xA000
39 #define AL_EFFECTSLOT_STATE_SOFT 0x199D
40 typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTPLAYSOFT)(ALuint slotid);
41 typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTPLAYVSOFT)(ALsizei n, const ALuint *slotids);
42 typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTSTOPSOFT)(ALuint slotid);
43 typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTSTOPVSOFT)(ALsizei n, const ALuint *slotids);
44 #ifdef AL_ALEXT_PROTOTYPES
45 AL_API void AL_APIENTRY alAuxiliaryEffectSlotPlaySOFT(ALuint slotid);
46 AL_API void AL_APIENTRY alAuxiliaryEffectSlotPlayvSOFT(ALsizei n, const ALuint *slotids);
47 AL_API void AL_APIENTRY alAuxiliaryEffectSlotStopSOFT(ALuint slotid);
48 AL_API void AL_APIENTRY alAuxiliaryEffectSlotStopvSOFT(ALsizei n, const ALuint *slotids);
49 #endif
50 #endif
52 #ifndef AL_SOFT_UHJ
53 #define AL_SOFT_UHJ
54 #define AL_FORMAT_UHJ2CHN8_SOFT 0x19A2
55 #define AL_FORMAT_UHJ2CHN16_SOFT 0x19A3
56 #define AL_FORMAT_UHJ2CHN_FLOAT32_SOFT 0x19A4
57 #define AL_FORMAT_UHJ3CHN8_SOFT 0x19A5
58 #define AL_FORMAT_UHJ3CHN16_SOFT 0x19A6
59 #define AL_FORMAT_UHJ3CHN_FLOAT32_SOFT 0x19A7
60 #define AL_FORMAT_UHJ4CHN8_SOFT 0x19A8
61 #define AL_FORMAT_UHJ4CHN16_SOFT 0x19A9
62 #define AL_FORMAT_UHJ4CHN_FLOAT32_SOFT 0x19AA
64 #define AL_STEREO_MODE_SOFT 0x19B0
65 #define AL_NORMAL_SOFT 0x0000
66 #define AL_SUPER_STEREO_SOFT 0x0001
67 #define AL_SUPER_STEREO_WIDTH_SOFT 0x19B1
68 #endif
70 #ifndef AL_SOFT_hold_on_disconnect
71 #define AL_SOFT_hold_on_disconnect
72 #define AL_STOP_SOURCES_ON_DISCONNECT_SOFT 0x19AB
73 #endif
75 #ifndef ALC_SOFT_output_mode
76 #define ALC_SOFT_output_mode
77 #define ALC_OUTPUT_MODE_SOFT 0x19AC
78 #define ALC_ANY_SOFT 0x19AD
79 /*#define ALC_MONO_SOFT 0x1500*/
80 /*#define ALC_STEREO_SOFT 0x1501*/
81 #define ALC_STEREO_BASIC_SOFT 0x19AE
82 #define ALC_STEREO_UHJ_SOFT 0x19AF
83 #define ALC_STEREO_HRTF_SOFT 0x19B2
84 /*#define ALC_QUAD_SOFT 0x1503*/
85 /*#define ALC_5POINT1_SOFT 0x1504*/
86 /*#define ALC_6POINT1_SOFT 0x1505*/
87 /*#define ALC_7POINT1_SOFT 0x1506*/
88 #endif
91 /* Non-standard export. Not part of any extension. */
92 AL_API const ALchar* AL_APIENTRY alsoft_get_version(void);
95 /* Functions from abandoned extenions. Only here for binary compatibility. */
96 AL_API void AL_APIENTRY alSourceQueueBufferLayersSOFT(ALuint src, ALsizei nb,
97 const ALuint *buffers);
99 AL_API ALint64SOFT AL_APIENTRY alGetInteger64SOFT(ALenum pname);
100 AL_API void AL_APIENTRY alGetInteger64vSOFT(ALenum pname, ALint64SOFT *values);
102 #ifdef __cplusplus
103 } /* extern "C" */
104 #endif
106 #endif /* INPROGEXT_H */