This structure is filled-in by the AudioPlayHead::getCurrentPosition() method. More...
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. | |
| int | timeSigDenominator |
| Time signature denominator, e.g. | |
| double | timeInSeconds |
| The current play position, in seconds from the start of the edit. | |
| double | editOriginTime |
| For timecode, the position of the start of the edit, in seconds from 00:00:00:00. | |
| double | ppqPosition |
| The current play position in pulses-per-quarter-note. | |
| double | ppqPositionOfLastBarStart |
| The position of the start of the last bar, in pulses-per-quarter-note. | |
| 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. | |
This structure is filled-in by the AudioPlayHead::getCurrentPosition() method.
| bool AudioPlayHead::CurrentPositionInfo::operator== | ( | const CurrentPositionInfo & | other ) | const |
| bool AudioPlayHead::CurrentPositionInfo::operator!= | ( | const CurrentPositionInfo & | other ) | const |
| void AudioPlayHead::CurrentPositionInfo::resetToDefault | ( | ) |
The tempo in BPM.
Time signature numerator, e.g.
the 3 of a 3/4 time sig
Time signature denominator, e.g.
the 4 of a 3/4 time sig
The current play position, in seconds from the start of the edit.
For timecode, the position of the start of the edit, in seconds from 00:00:00:00.
The current play position in pulses-per-quarter-note.
This is the number of quarter notes since the edit start.
The position of the start of the last bar, in pulses-per-quarter-note.
This is the number of quarter notes from the start of the edit to the start of the current bar.
Note - this value may be unavailable on some hosts, e.g. Pro-Tools. If it's not available, the value will be 0.
The video frame rate, if applicable.
True if the transport is currently playing.
True if the transport is currently recording.
(When isRecording is true, then isPlaying will also be true).