OpenShot Library | libopenshot-audio
0.2.0
|
This structure is filled-in by the AudioPlayHead::getCurrentPosition() method. More...
#include <juce_AudioPlayHead.h>
Public Member Functions | |
bool | operator== (const CurrentPositionInfo &other) const noexcept |
bool | operator!= (const CurrentPositionInfo &other) const noexcept |
void | resetToDefault () |
Public Attributes | |
double | bpm |
The tempo in BPM. | |
int | timeSigNumerator |
Time signature numerator, e.g. More... | |
int | timeSigDenominator |
Time signature denominator, e.g. More... | |
int64 | timeInSamples |
The current play position, in samples from the start of the timeline. | |
double | timeInSeconds |
The current play position, in seconds from the start of the timeline. | |
double | editOriginTime |
For timecode, the position of the start of the timeline, in seconds from 00:00:00:00. | |
double | ppqPosition |
The current play position, in units of quarter-notes. | |
double | ppqPositionOfLastBarStart |
The position of the start of the last bar, in units of quarter-notes. More... | |
FrameRateType | frameRate |
The video frame rate, if applicable. | |
bool | isPlaying |
True if the transport is currently playing. | |
bool | isRecording |
True if the transport is currently recording. More... | |
double | ppqLoopStart |
The current cycle start position in units of quarter-notes. More... | |
double | ppqLoopEnd |
The current cycle end position in units of quarter-notes. More... | |
bool | isLooping |
True if the transport is currently looping. | |
This structure is filled-in by the AudioPlayHead::getCurrentPosition() method.
Definition at line 70 of file juce_AudioPlayHead.h.
int juce::AudioPlayHead::CurrentPositionInfo::timeSigNumerator |
Time signature numerator, e.g.
the 3 of a 3/4 time sig
Definition at line 76 of file juce_AudioPlayHead.h.
int juce::AudioPlayHead::CurrentPositionInfo::timeSigDenominator |
Time signature denominator, e.g.
the 4 of a 3/4 time sig
Definition at line 78 of file juce_AudioPlayHead.h.
double juce::AudioPlayHead::CurrentPositionInfo::ppqPositionOfLastBarStart |
The position of the start of the last bar, in units of quarter-notes.
This is the time from the start of the timeline to the start of the current bar, in ppq units.
Note - this value may be unavailable on some hosts, e.g. Pro-Tools. If it's not available, the value will be 0.
Definition at line 99 of file juce_AudioPlayHead.h.
bool juce::AudioPlayHead::CurrentPositionInfo::isRecording |
True if the transport is currently recording.
(When isRecording is true, then isPlaying will also be true).
Definition at line 111 of file juce_AudioPlayHead.h.
double juce::AudioPlayHead::CurrentPositionInfo::ppqLoopStart |
The current cycle start position in units of quarter-notes.
Note that not all hosts or plugin formats may provide this value.
Definition at line 117 of file juce_AudioPlayHead.h.
double juce::AudioPlayHead::CurrentPositionInfo::ppqLoopEnd |
The current cycle end position in units of quarter-notes.
Note that not all hosts or plugin formats may provide this value.
Definition at line 123 of file juce_AudioPlayHead.h.