CommitControl
provides a mechanism to enable multiple
audio parameters to be updated simultaneously. In many ways, it can be considered
to be the equivalent of a ’Draw’ or ’Flush’ method of a graphics system. The
commit control can only be obtained from the GlobalManager
.
The commit control has two operating modes:
The immediate (default) mode, where the CommitControl
is
effectively disabled, so all audio parameters are passed directly to the audio
processing system as soon as they are set.
The deferred mode, in which the CommitControl
buffers
all the audio parameters until the commit
method
is called.
Note: 3D audio processing takes a large amount of system resources, which
means that its usage should be well planned and optimized. Utilizing CommitControl
is
a good way of doing this.