| OpenAL Specification and Reference | ||
|---|---|---|
| <<< Previous | OpenAL Operation | Next >>> |
The application can temporarily disable certain AL capabilities on a per Context basis. This allows the driver implementation to optimize for certain subsets of operations. Enabling and disabling capabilities is handled using a function pair.
void Enable ( enum target );
void Disable ( enum target );
boolean IsEnabled ( enum target );
At this time, this mechanism is not used. There are no valid targets.
![]() | Annotation (Enable/Disable) |
|---|---|
Currently, AL is controlled exploiting existing commands. For example, to disable sound output but not processing, the Listener can be muted setting GAIN to zero. Selecting NONE as the distance model disables distance attenuation. Setting DOPPLER_FACTOR to zero disables the Doppler Effect. A redundant mechanism to accomplish the same is not needed. |
| <<< Previous | Home | Next >>> |
| AL Errors | Up | Object Paradigm |