All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Private Attributes | List of all members
SoundClip Class Reference
+ Inheritance diagram for SoundClip:

Public Member Functions

 SoundClip (const SoundClip &)
 
SoundClipoperator= (const SoundClip &a)
 
SoundClipclone () const override
 
Status init (const QString &strSoundFile)
 
bool isValid () const
 
void setSoundClipName (const QString &sName)
 
QString soundClipName () const
 
void attachPlayer (SoundPlayer *player)
 
void detachPlayer ()
 
SoundPlayerplayer () const
 
void play ()
 
void playFromPosition (int frameNumber, int fps)
 
void pause ()
 
void stop ()
 
int64_t duration () const
 
void setDuration (const int64_t &duration)
 
void updateLength (int fps)
 
- Public Member Functions inherited from KeyFrame
 KeyFrame (const KeyFrame &k2)
 
KeyFrameoperator= (const KeyFrame &k2)
 
int pos () const
 
void setPos (int position)
 
int length () const
 
void setLength (int len)
 
void modification ()
 
void setModified (bool b)
 
bool isModified () const
 
void setSelected (bool b)
 
bool isSelected () const
 
QString fileName () const
 
void setFileName (QString strFileName)
 
void addEventListener (KeyFrameEventListener *)
 
void removeEventListner (KeyFrameEventListener *)
 
virtual void loadFile ()
 
virtual void unloadFile ()
 
virtual bool isLoaded () const
 
virtual quint64 memoryUsage ()
 

Private Attributes

std::shared_ptr< SoundPlayermPlayer
 
QString mOriginalSoundClipName
 
int64_t mDuration = 0
 

Detailed Description

Definition at line 26 of file soundclip.h.


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