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::TransportControl::ScopedContextAllocator Struct Reference

Frees the playback context and then re-allocates it upon destruction. More...

#include "tracktion_TransportControl.h"

Public Member Functions

 ScopedContextAllocator (TransportControl &o)
 Saves whether the Edit was allocated.
 
 ~ScopedContextAllocator ()
 Allocated the Edit if it was allocated on construction.
 

Public Attributes

TransportControltc
 
bool wasAllocated
 
ScopedPlaybackRestarter playbackRestarter
 

Detailed Description

Frees the playback context and then re-allocates it upon destruction.

Definition at line 285 of file tracktion_TransportControl.h.

Constructor & Destructor Documentation

◆ ScopedContextAllocator()

tracktion::engine::TransportControl::ScopedContextAllocator::ScopedContextAllocator ( TransportControl o)

Saves whether the Edit was allocated.

Definition at line 288 of file tracktion_TransportControl.h.

◆ ~ScopedContextAllocator()

tracktion::engine::TransportControl::ScopedContextAllocator::~ScopedContextAllocator ( )

Allocated the Edit if it was allocated on construction.

Definition at line 293 of file tracktion_TransportControl.h.

Member Data Documentation

◆ playbackRestarter

ScopedPlaybackRestarter tracktion::engine::TransportControl::ScopedContextAllocator::playbackRestarter

Definition at line 301 of file tracktion_TransportControl.h.

◆ tc

TransportControl& tracktion::engine::TransportControl::ScopedContextAllocator::tc

Definition at line 299 of file tracktion_TransportControl.h.

◆ wasAllocated

bool tracktion::engine::TransportControl::ScopedContextAllocator::wasAllocated

Definition at line 300 of file tracktion_TransportControl.h.


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