Video display and composing engine for JUCE
Loading...
Searching...
No Matches
AudioStrip Class Reference

This class displays the audio curves of the clip. More...

#include <foleys_AudioStrip.h>

Inherits Component, and ChangeListener.

Classes

class  ThumbnailJob
 

Public Member Functions

 AudioStrip ()
 
 ~AudioStrip () override
 
void setClip (std::shared_ptr< AVClip > clip)
 Set the clip to be shown as thumbnail.
 
void setClip (std::shared_ptr< ClipDescriptor > descriptor)
 
void paint (juce::Graphics &) override
 
void setStartAndEnd (double start, double end)
 Set the start time and the end time of the clip in seconds.
 

Public Attributes

friend ThumbnailJob
 

Detailed Description

This class displays the audio curves of the clip.

Constructor & Destructor Documentation

◆ AudioStrip()

◆ ~AudioStrip()

~AudioStrip ( )
override

Member Function Documentation

◆ setClip() [1/2]

void setClip ( std::shared_ptr< AVClip clip)

Set the clip to be shown as thumbnail.

Referenced by AudioStrip::setClip().

◆ setClip() [2/2]

void setClip ( std::shared_ptr< ClipDescriptor descriptor)

References AudioStrip::setClip().

◆ paint()

void paint ( juce::Graphics &  g)
override

◆ setStartAndEnd()

void setStartAndEnd ( double  start,
double  end 
)

Set the start time and the end time of the clip in seconds.

This is used to allow only a subset of thumbnails to be shown.

Member Data Documentation

◆ ThumbnailJob

friend ThumbnailJob

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