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 | List of all members
tracktion::engine::WarpMarker Struct Reference

A WarpMarker is a point that maps from a linear "source" time to a "warped" time. More...

#include "tracktion_WarpTimeManager.h"

Public Member Functions

 WarpMarker () noexcept=default
 Creates an empty WarpMarker.
 
 WarpMarker (TimePosition s, TimePosition w)
 Creates a WarpMarker with a source and warp time.
 
 WarpMarker (const juce::ValueTree &v)
 Loads a WarpMarker from a saved state.
 
void updateFrom (const juce::ValueTree &v, const juce::Identifier &i)
 Updates this WarpMarker from a ValueTree property.
 
HashCode getHash () const noexcept
 Returns a hash for this marker.
 

Public Attributes

juce::ValueTree state
 
TimePosition sourceTime
 
TimePosition warpTime
 

Detailed Description

A WarpMarker is a point that maps from a linear "source" time to a "warped" time.

Definition at line 20 of file tracktion_WarpTimeManager.h.

Constructor & Destructor Documentation

◆ WarpMarker() [1/2]

tracktion::engine::WarpMarker::WarpMarker ( TimePosition  s,
TimePosition  w 
)

Creates a WarpMarker with a source and warp time.

Definition at line 26 of file tracktion_WarpTimeManager.h.

◆ WarpMarker() [2/2]

tracktion::engine::WarpMarker::WarpMarker ( const juce::ValueTree v)

Loads a WarpMarker from a saved state.

Definition at line 30 of file tracktion_WarpTimeManager.h.

Member Function Documentation

◆ getHash()

HashCode tracktion::engine::WarpMarker::getHash ( ) const
noexcept

Returns a hash for this marker.

Definition at line 22 of file tracktion_WarpTimeManager.cpp.

◆ updateFrom()

void tracktion::engine::WarpMarker::updateFrom ( const juce::ValueTree v,
const juce::Identifier i 
)

Updates this WarpMarker from a ValueTree property.

Definition at line 37 of file tracktion_WarpTimeManager.h.

Member Data Documentation

◆ sourceTime

TimePosition tracktion::engine::WarpMarker::sourceTime

Definition at line 49 of file tracktion_WarpTimeManager.h.

◆ state

juce::ValueTree tracktion::engine::WarpMarker::state

Definition at line 48 of file tracktion_WarpTimeManager.h.

◆ warpTime

TimePosition tracktion::engine::WarpMarker::warpTime

Definition at line 49 of file tracktion_WarpTimeManager.h.


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