![]() |
Murl Engine API
Version 2018.3
|
The IAudioSequence graph node interface. More...
#include <murl_graph_i_audio_sequence.h>
The IAudioSequence graph node interface.
An audio sequence represents a single instance of a playable sound object, that can be positioned within the virtual world space. It can reference any number of individual audio source nodes that can be seamlessly played back in the order they are specified through the node's Graph::IAudioSourceNodeTarget.
Use the interface's Graph::IPlayable base to query the total duration, and set or query endless looping.
Use the interface's Graph::IAudible base to access audio parameters like volume, sample format etc.
See Graph::IAudioSource for defining individual sound objects.
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual ITransform * | GetTransformInterface ()=0 |
Get the mutable Graph::ITransform interface. More... | |
virtual const ITransform * | GetTransformInterface () const =0 |
Get the constant Graph::ITransform interface. More... | |
virtual IAudioSourceNodeTarget * | GetAudioSourceNodeTarget ()=0 |
Get the mutable Graph::IAudioSourceNodeTarget container. More... | |
virtual const IAudioSourceNodeTarget * | GetAudioSourceNodeTarget () const =0 |
Get the constant Graph::IAudioSourceNodeTarget container. More... | |
virtual Bool | SetTimelineUnit (UInt32 unit)=0 |
Set the timeline unit to respond to. More... | |
virtual UInt32 | GetTimelineUnit () const =0 |
Get the timeline unit responding to. More... | |
![]() | |
virtual Bool | SetEndlessLoopEnabled (Bool enabled)=0 |
Enable/disable endless looping. More... | |
virtual Bool | IsEndlessLoopEnabled () const =0 |
Check if endless looping is enabled. More... | |
virtual Bool | SetTimelineStallingEnabled (Bool enabled)=0 |
Enable/disable timeline stalling. More... | |
virtual Bool | IsTimelineStallingEnabled () const =0 |
Check if timeline stalling is enabled. More... | |
virtual Double | GetTotalDuration () const =0 |
Get the total duration of the playable. More... | |
![]() | |
virtual Bool | SetSampleFormat (IEnums::SampleFormat sampleFormat)=0 |
Set the sample format used for playback. More... | |
virtual IEnums::SampleFormat | GetSampleFormat () const =0 |
Get the sample format used for playback. More... | |
virtual Bool | SetMaxNumberOfStreamBuffers (UInt32 maxNumBuffers)=0 |
Set the maximum number of stream buffers used during playback. More... | |
virtual UInt32 | GetMaxNumberOfStreamBuffers () const =0 |
Get the maximum number of stream buffers used during playback. More... | |
virtual Bool | SetVolume (Real volume)=0 |
Set the playback volume. More... | |
virtual Real | GetVolume () const =0 |
Get the playback volume. More... | |
virtual Bool | SetReferenceDistance (Real referenceDistance)=0 |
Set the reference distance. More... | |
virtual Real | GetReferenceDistance () const =0 |
Get the reference distance. More... | |
virtual Bool | SetRolloffFactor (Real rolloffFactor)=0 |
Set the rolloff factor. More... | |
virtual Real | GetRolloffFactor () const =0 |
Get the rolloff factor. More... | |
virtual Bool | SetMaxDistance (Real maxDistance)=0 |
Set the maximum distance. More... | |
virtual Real | GetMaxDistance () const =0 |
Get the maximum distance. More... | |
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
|
pure virtual |
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.
|
pure virtual |
Get the mutable Graph::ITransform interface.
This method returns a mutable pointer to the node's Graph::ITransform interface, to be able to query or modify the node's transformation matrix and depth order.
|
pure virtual |
Get the constant Graph::ITransform interface.
This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
|
pure virtual |
Get the mutable Graph::IAudioSourceNodeTarget container.
This method returns a mutable pointer to the node's Graph::IAudioSourceNodeTarget container, which allows to add, remove or query the audio sequence's referenced audio objects.
|
pure virtual |
Get the constant Graph::IAudioSourceNodeTarget container.
This method returns a constant pointer to the node's Graph::IAudioSourceNodeTarget container, which allows to query the audio sequence's referenced audio objects.
Set the timeline unit to respond to.
unit | The timeline unit in the range from 0 to IEnums::NUM_TIMELINE_UNITS-1. |
|
pure virtual |
Get the timeline unit responding to.