The IPlayable property interface. More...
#include "murl_graph_i_playable.h"
Public Member Functions | |
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... | |
Detailed Description
The IPlayable property interface.
This interface provides basic properties of a "playable" object, e.g. an audio or video sequence.
Member Function Documentation
◆ SetEndlessLoopEnabled()
Enable/disable endless looping.
If set to true, the playable keeps looping through its source objects even when the timeline's actual time value is beyond the end of the sequence duration.
- Parameters
-
enabled If true, endless looping is enabled.
- Returns
- true if successful.
◆ IsEndlessLoopEnabled()
|
pure virtual |
Check if endless looping is enabled.
- Returns
- true if endless looping is enabled.
Referenced by Murl::Logic::GraphSoundObject::StartPlaying().
◆ SetTimelineStallingEnabled()
Enable/disable timeline stalling.
If set to true, the playable can stall the currently active timeline when e.g. there is no input data available or the decoding process lags behind. This is useful if other animations shall be synchronized to e.g. audio or video playback.
- Parameters
-
enabled If true, timeline stalling is enabled.
- Returns
- true if successful.
◆ IsTimelineStallingEnabled()
|
pure virtual |
Check if timeline stalling is enabled.
- Returns
- true if timeline stalling is enabled.
◆ GetTotalDuration()
|
pure virtual |
Get the total duration of the playable.
- Returns
- The total duration in seconds.
Referenced by Murl::Logic::GraphSoundObject::StartPlaying().
The documentation for this interface was generated from the following file:
- murl_graph_i_playable.h