-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAL_EXT_STATIC_BUFFER.txt
58 lines (32 loc) · 1.05 KB
/
AL_EXT_STATIC_BUFFER.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Name
EXT_STATIC_BUFFER
Name Strings
AL_EXT_STATIC_BUFFER
Version
1.0
Number
??
Dependencies
This extension is written against the OpenAL 1.1 specification.
Overview
This extension provides a means for the caller to avoid the overhead
associated with the alBufferData call which performs a physical copy of
the data provided by the caller to internal buffers.
When using the AL_EXT_STATIC_BUFFER extension, OpenAL's internal buffers
use the data pointer provided by the caller for all data access.
Issues
None
New Procedures and Functions
void alBufferDataStatic(const ALint buffer, ALenum format, ALvoid *data,
ALsizei len, ALsizei freq);
New Tokens
None
Additions to Specification
None
Errors
It is important that the caller does NOT free these buffers until OpenAL
returns from alDeleteBuffers() without returning an error.
New State
None
New Implementation State
None