![]() |
Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
|
AudioClip is the instance of a audio clip file, this class holds. This class holds basic information of the clip, and has methods to create playable instances. More...
#include <audioclip.h>

Public Member Functions | |
| MAudioClip (irrklang::ISoundEngine *engine, std::string clipPath) | |
| Constructor. | |
| MAudioPlayable * | createPlayableInstance () |
| Creates a playable instance of this clip, which can be used to play audio. | |
| std::string | toString () override |
| Get this object as a string. | |
AudioClip is the instance of a audio clip file, this class holds. This class holds basic information of the clip, and has methods to create playable instances.
| meteor::MAudioClip::MAudioClip | ( | irrklang::ISoundEngine * | engine, |
| std::string | clipPath ) |
Constructor.
| engine | core audio engine instance. |
| clipPath | path to the clip in disk. |
| MAudioPlayable * meteor::MAudioClip::createPlayableInstance | ( | ) |
Creates a playable instance of this clip, which can be used to play audio.
|
overridevirtual |
Get this object as a string.
Reimplemented from meteor::MEntity.