#include <IAudio.h>
Inheritance diagram for IDLS::
Public Methods | |
virtual bool | Init (const DLSInit &init)=0 |
virtual bool | Lock ()=0 |
virtual bool | Unlock ()=0 |
The IDLS interface is designed to be used internally by segment objects. A DLS collection may be associated with an ISegment object through the SegmentInit::m_pDLS member. Segments will internally call Lock() and Unlock() to load or unload the DLS member explicitly as appropriate.
|
Initializes the DLS object. This must be the first function called on the sound after the object is created.
|
|
This loads all DLS data. Unlike a typical load function, an internal reference count is incremented with each call to Lock(), and will force the DLS data to remain loaded until either the reference count drops to zero or the Destoy() function is called.
|
|
Decreases an internal reference count incremented by the Lock() function. When the reference count drops to zero, the DLS collection is unloaded.
|