tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tracktion::engine::StretchSegment Struct Reference

Public Member Functions

 StretchSegment (Engine &engine, const AudioFile &file, const AudioClipBase::ProxyRenderingInfo &info, double sampleRate, const AudioSegmentList::Segment &s)
 
void renderNextBlock (juce::AudioBuffer< float > &buffer, TimeRange editTime, int numSamples)
 
int fillNextBlock ()
 
void renderFades (int numSamples)
 
void renderFade (SampleCount start, SampleCount end, bool isFadeOut, int numSamples)
 

Public Attributes

const AudioSegmentList::Segmentsegment
 
TimeStretcher timestretcher
 
AudioFileInfo fileInfo
 
AudioFileCache::Reader::Ptr reader
 
const int outputBufferSize
 
int readySamplesStart
 
int readySamplesEnd
 
SampleCount readySampleOutputPos
 
const int crossfadeSamples
 
const int numChannelsToUse
 
juce::AudioBuffer< floatfifo
 

Static Public Attributes

static constexpr int maxNumChannels
 

Detailed Description

Definition at line 1908 of file tracktion_AudioClipBase.cpp.

Constructor & Destructor Documentation

◆ StretchSegment()

tracktion::engine::StretchSegment::StretchSegment ( Engine engine,
const AudioFile file,
const AudioClipBase::ProxyRenderingInfo info,
double  sampleRate,
const AudioSegmentList::Segment s 
)

Definition at line 1912 of file tracktion_AudioClipBase.cpp.

Member Function Documentation

◆ fillNextBlock()

int tracktion::engine::StretchSegment::fillNextBlock ( )

Definition at line 1996 of file tracktion_AudioClipBase.cpp.

◆ renderFade()

void tracktion::engine::StretchSegment::renderFade ( SampleCount  start,
SampleCount  end,
bool  isFadeOut,
int  numSamples 
)

Definition at line 2060 of file tracktion_AudioClipBase.cpp.

◆ renderFades()

void tracktion::engine::StretchSegment::renderFades ( int  numSamples)

Definition at line 2042 of file tracktion_AudioClipBase.cpp.

◆ renderNextBlock()

void tracktion::engine::StretchSegment::renderNextBlock ( juce::AudioBuffer< float > &  buffer,
TimeRange  editTime,
int  numSamples 
)

Definition at line 1946 of file tracktion_AudioClipBase.cpp.

Member Data Documentation

◆ crossfadeSamples

const int tracktion::engine::StretchSegment::crossfadeSamples

Definition at line 2101 of file tracktion_AudioClipBase.cpp.

◆ fifo

juce::AudioBuffer<float> tracktion::engine::StretchSegment::fifo

Definition at line 2102 of file tracktion_AudioClipBase.cpp.

◆ fileInfo

AudioFileInfo tracktion::engine::StretchSegment::fileInfo

Definition at line 2095 of file tracktion_AudioClipBase.cpp.

◆ maxNumChannels

constexpr int tracktion::engine::StretchSegment::maxNumChannels
staticconstexpr

Definition at line 1910 of file tracktion_AudioClipBase.cpp.

◆ numChannelsToUse

const int tracktion::engine::StretchSegment::numChannelsToUse

Definition at line 2101 of file tracktion_AudioClipBase.cpp.

◆ outputBufferSize

const int tracktion::engine::StretchSegment::outputBufferSize

Definition at line 2098 of file tracktion_AudioClipBase.cpp.

◆ reader

AudioFileCache::Reader::Ptr tracktion::engine::StretchSegment::reader

Definition at line 2096 of file tracktion_AudioClipBase.cpp.

◆ readySampleOutputPos

SampleCount tracktion::engine::StretchSegment::readySampleOutputPos

Definition at line 2100 of file tracktion_AudioClipBase.cpp.

◆ readySamplesEnd

int tracktion::engine::StretchSegment::readySamplesEnd

Definition at line 2099 of file tracktion_AudioClipBase.cpp.

◆ readySamplesStart

int tracktion::engine::StretchSegment::readySamplesStart

Definition at line 2099 of file tracktion_AudioClipBase.cpp.

◆ segment

const AudioSegmentList::Segment& tracktion::engine::StretchSegment::segment

Definition at line 2092 of file tracktion_AudioClipBase.cpp.

◆ timestretcher

TimeStretcher tracktion::engine::StretchSegment::timestretcher

Definition at line 2093 of file tracktion_AudioClipBase.cpp.


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