| OpenAL Specification and Reference | ||
|---|---|---|
| <<< Previous | Extensions | Next >>> |
To obtain enumeration values for extensions, the application has to use GetEnumValue of an extension token. Enumeration values are defined within the AL namespace and allocated according to specification of the core API and the extensions, thus they are context-independent.
uint GetEnumValue ( const ubyte enumName );
![]() | Annotation/ enums with value zero |
|---|---|
The literal value 0 is guaranteed for a number of AL enums, such as FALSE, NONE, ZERO. As with GL applications might employ sloppy use of this identity. It also means that enums with zero value can not be queried through GetEnumValue, a minor flaw given the constraints of ABI backward compatibility. The recommended value to compare GetEnumValue results with is NONE. |
| <<< Previous | Home | Next >>> |
| Retrieving Function Entry Addresses | Up | Naming Conventions |