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.
The application can also query whether a given capability is currently enabled or not. If the token used to specify target is not legal, an INVALID_ENUM error will be generated.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 |