struct CCL::IAudioTransportClock
Overview
A clock used (and provided) by a shared transport instance. More…
#include <iaudiotransport.h> struct IAudioTransportClock: public CCL::IUnknown { // fields static constexpr TSeconds kMaxDurationUnbound = -1.; // methods virtual TSeconds CCL_API getCurrentTime () const = 0; virtual TSeconds CCL_API getMaxDuration () const = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
A clock used (and provided) by a shared transport instance.
Methods
virtual TSeconds CCL_API getCurrentTime () const = 0
Current transport time in seconds, advancing during playback.
virtual TSeconds CCL_API getMaxDuration () const = 0
Maximum transport duration in seconds (-1 if unbound).