aboutsummaryrefslogtreecommitdiffstats
path: root/include/AL
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-11-11 05:57:32 -0800
committerChris Robinson <[email protected]>2008-11-11 05:57:32 -0800
commitfc4c867f27ed6e4c4cee8f5a5228c2c9543e7ee9 (patch)
tree0124848208a01afd2b36006ef901138c196711ba /include/AL
parent9ba30c4e20460de9bc1ed2005543d626f73e4af3 (diff)
Add initial AL_EXTX_buffer_sub_data support
Note that this is an in-development extension, as noted by the EXTX moniker instead of EXT. It's behavior is subject to change, and the extension string will be removed (replaced with the official string once it's finalized). Developers are discouraged from using this in production code, though feel free to play around with it.
Diffstat (limited to 'include/AL')
-rw-r--r--include/AL/alext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h
index 9dffcdee..4549d3d9 100644
--- a/include/AL/alext.h
+++ b/include/AL/alext.h
@@ -91,6 +91,14 @@ extern "C" {
#define AL_FORMAT_STEREO_IMA4 0x1301
#endif
+#ifndef AL_EXT_buffer_sub_data
+#define AL_EXT_buffer_sub_data 1
+#define AL_BYTE_RW_OFFSETS_EXT 0x1031
+#define AL_SAMPLE_RW_OFFSETS_EXT 0x1032
+#define AL_SEC_RW_OFFSETS_EXT 0x1033
+typedef ALvoid (AL_APIENTRY*PFNALBUFFERSUBDATAEXTPROC)(ALuint,ALenum,const ALvoid*,ALsizei,ALsizei);
+#endif
+
#ifdef __cplusplus
}
#endif