virtual SoundSample* CreateSampleFromData(SoundDataBase* psd) = 0;
CreateSampleFromData is a convenient function used to create and initialize a sample sound object with the given sound data. The created sound sample object is associated with the sound data that is kept in SWF resource library which was loaded during SWF file loading process.
Parameters |
Description |
SoundDataBase* psd |
Pointer to SoundDataBase object for creating the sample sound. |
The created sound sample object.