Scaleform::GFx::State Scaleform::GFx::AudioBase Scaleform::GFx::Audio
class Audio : public AudioBase;
Audio is an implementation for AudioBase interface which implements reading of sound tag methods. This class enables compilation of sound classes completely out of Scaleform core and the resultant application executable.
To initialize Scaleform sound system, an instance of Audio must be set on Loader. The sound renderer and synchronization parameters for playing SWF streaming sounds are provided to the loader by Audio.
Ptr<Audio> audioState = *new Audio(psoundRenderer); loader.SetAudio(audioState);
Method |
Description |
Audio constructor. | |
Obtains the sound renderer for playing the sounds in the SWF files. | |
Returns a pointer to SoundTagsReader for loading the various definition tags for the sound file. | |
Registers the Sound ActionScript classes. |
GFx_Audio.h