Torque 3D 3.7

The following table lists variables in this documentation.

List of buffers that need updating.
It depends on the actual device whether this list is processed on a stream update thread or on the main thread. 
List of buffers that are pending deletion.
This is a messy issue. Buffers with live async states cannot be instantly deleted since they may still be running concurrent updates. However, they also cannot be deleted on the update thread since the StrongRefBase stuff isn't thread-safe (i.e weak references kept by client code would cause trouble).
So, what we do is mark buffers for deletion, wait till they surface on the process list and then ping them back to this list to have them deleted by the SFXDevice itself on the main thread. A bit of overhead but only a fraction... more 
Dedicated thread that does sound buffer updates. May be NULL if sound API used does not do asynchronous buffer updates but rather uses per-frame polling.
@note SFXDevice automatically polls if this is NULL
Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!