virtual SoundSample* CreateSampleFromFile(const char* fname, bool streaming) = 0;
CreateSampleFromFile returns the sound sample objects created from a SWF streaming file with a reference count of 1. The method must be user - released. The created sound sample object is associated with the sound data which comes from a separate file (MP3, WAV). streaming parameters specifies if a file should be completely loaded before it starts playing.
Parameters |
Description |
const char* fname |
File name of the SWF. |
bool streaming |
A Boolean value to determine if the SWF file is of streaming type. |