Moo
MooClip Class Referenceabstract

A Moo Media Clip

More...

#include <mooclip.h>

Public Member Functions

virtual mooUInt getID ()=0
 get a project's ID
 
virtual const mooChargetName ()=0
 get the clip's name
 
virtual const mooChargetMediaFileName ()=0
 get the local media file name
 
virtual mooMediaType getMediaType ()=0
 get the clip's media type
 
virtual mooDouble getTime ()=0
 get the clip time (relative to the track) More...
 
virtual mooDouble getOffset ()=0
 get the clip offset into its media file
 
virtual mooDouble getDuration ()=0
 get the clip duration
 
virtual mooBool setClipTimes (mooDouble time, mooDouble offset, mooDouble duration)=0
 modify clip times
 
virtual MooClip ** getClips (mooInt &count)=0
 get subclips (not supported yet)
 

Detailed Description

A Moo Media Clip


MooClip

Member Function Documentation

◆ getTime()

virtual mooDouble MooClip::getTime ( )
pure virtual

get the clip time (relative to the track)

all moo times are in seconds. a media clip starts at time time in its track it may have an offset into its media file furthermore, it has a duration. for example, a clip starts at time 1 (one second) and has a duration of 1 and an offset of 1, then it will play after one second from the project start, from 1 second into its media file until 2 seconds into the media file.


The documentation for this class was generated from the following file: