Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
SFXWrapAroundBuffer Class
SFXInternal__SFXWrapAroundBufferSFXInternal__SFXWrapAroundBufferSFXInternal__SFXWrapAroundBufferSFXInternal__SFXWrapAroundBufferSFXInternal__SFXWrapAroundBufferSFXInternal__SFXWrapAroundBuffer
Syntax
C++
class SFXWrapAroundBuffer : public SFXBuffer;

Buffer that uses wrap-around packet buffering. 

This class automatically coordinates retrieval and submitting of sound packets and also protects against play cursors running beyond the last packet by making sure some silence is submitted after the last packet (does not count towards playback time). 

@note Note that the reaction times of this class depend on the SFXDevice triggering timely SFXBuffer:update() calls.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!