|
VST 3 Interfaces VST 3.8
SDK for developing VST plug-in
|
#include <ivsttransportcontrol.h>
Static Public Member Functions | |
| static TransportPosition | fromSamples (TSamples s) |
| Create from absolute samples. | |
| static TransportPosition | fromQuarterNotes (TQuarterNotes q) |
| Create from quarter notes (PPQ). | |
Public Attributes | ||
| TransportPositionType | type {TransportPositionType::Samples} | |
| union { | ||
| TSamples samples | ||
| Absolute sample position. More... | ||
| TQuarterNotes quarterNotes | ||
| PPQ position (musical time) More... | ||
| }; | ||
A tagged union representing a transport position in either:
Hosts may choose which representation they honor. Plug-ins should use ::Type to indicate which field is valid.
|
inlinestatic |
Create from absolute samples.
|
inlinestatic |
Create from quarter notes (PPQ).
| TSamples samples |
Absolute sample position.
| TQuarterNotes quarterNotes |
PPQ position (musical time)
| union { ... } |