TracktionEngine
Public Member Functions | Public Attributes | List of all members
tracktion::engine::AudioSegmentList::Segment Struct Reference

Public Member Functions

 Segment ()=default
 
TimeRange getRange () const
 
SampleRange getSampleRange () const
 
float getStretchRatio () const
 
float getTranspose () const
 
bool hasFadeIn () const
 
bool hasFadeOut () const
 
bool isFollowedBySilence () const
 
HashCode getHashCode () const
 
bool operator== (const Segment &) const
 
bool operator!= (const Segment &) const
 

Public Attributes

TimePosition start
 
TimeDuration length
 
SampleCount startSample = 0
 
SampleCount lengthSample = 0
 
float stretchRatio = 1.0f
 
float transpose = 0
 
bool fadeIn = false
 
bool fadeOut = false
 
bool followedBySilence = false
 

Constructor & Destructor Documentation

◆ Segment()

tracktion::engine::AudioSegmentList::Segment::Segment ( )
default

Member Function Documentation

◆ getRange()

TimeRange tracktion::engine::AudioSegmentList::Segment::getRange ( ) const

◆ getSampleRange()

SampleRange tracktion::engine::AudioSegmentList::Segment::getSampleRange ( ) const

◆ getStretchRatio()

float tracktion::engine::AudioSegmentList::Segment::getStretchRatio ( ) const

◆ getTranspose()

float tracktion::engine::AudioSegmentList::Segment::getTranspose ( ) const

◆ hasFadeIn()

bool tracktion::engine::AudioSegmentList::Segment::hasFadeIn ( ) const

◆ hasFadeOut()

bool tracktion::engine::AudioSegmentList::Segment::hasFadeOut ( ) const

◆ isFollowedBySilence()

bool tracktion::engine::AudioSegmentList::Segment::isFollowedBySilence ( ) const

◆ getHashCode()

HashCode tracktion::engine::AudioSegmentList::Segment::getHashCode ( ) const

◆ operator==()

bool tracktion::engine::AudioSegmentList::Segment::operator== ( const Segment ) const

◆ operator!=()

bool tracktion::engine::AudioSegmentList::Segment::operator!= ( const Segment ) const

Member Data Documentation

◆ start

TimePosition tracktion::engine::AudioSegmentList::Segment::start

◆ length

TimeDuration tracktion::engine::AudioSegmentList::Segment::length

◆ startSample

SampleCount tracktion::engine::AudioSegmentList::Segment::startSample = 0

◆ lengthSample

SampleCount tracktion::engine::AudioSegmentList::Segment::lengthSample = 0

◆ stretchRatio

float tracktion::engine::AudioSegmentList::Segment::stretchRatio = 1.0f

◆ transpose

float tracktion::engine::AudioSegmentList::Segment::transpose = 0

◆ fadeIn

bool tracktion::engine::AudioSegmentList::Segment::fadeIn = false

◆ fadeOut

bool tracktion::engine::AudioSegmentList::Segment::fadeOut = false

◆ followedBySilence

bool tracktion::engine::AudioSegmentList::Segment::followedBySilence = false

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