SoundRenderer::CreateSampleFromData

SoundRenderer::CreateSampleFromData
virtual SoundSample* CreateSampleFromData(SoundDataBase* psd) = 0;
Description

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
Parameters 
Description 
SoundDataBase* psd 
Pointer to SoundDataBase object for creating the sample sound. 
Return Value

The created sound sample object.