![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAudioSource graph node interface.
This interface represents a node referencing a read-only Resource::IAudio object, which can be played back by assigning it to one or more individual Graph::IAudioSequence nodes.
Get the constant Graph::INode interface. This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
Murl.Graph.INode GetNodeInterface()
Get a constant Graph::IAudioResourceTarget container. This method returns a constant pointer to a Graph::IAudioResourceTarget container, which allows to query the audio resources referenced by a node implementing this interface.
Murl.Graph.IGenericResourceTarget.ResourceIAudio GetAudioResourceTarget()
Set the audio node's buffer type.
Boolean SetBufferType(Murl.IEnums.BufferType type)
type | The buffer type. |
Get the audio node's buffer type.
Murl.IEnums.BufferType GetBufferType()
Get the duration of the audio object.
Number GetDuration()
Get the audio node's audio stream.
Murl.IAudioStream AcquireAudioStream()
Release a previously acquired audio stream.
Boolean ReleaseAudioStream(Murl.IAudioStream stream)
stream | The audio stream to release |