openshot-audio  0.1.6
Public Member Functions | Public Attributes | List of all members
juce::AudioPlayHead::CurrentPositionInfo Struct Reference

#include <juce_audio_processors.h>

Public Member Functions

bool operator== (const CurrentPositionInfo &other) const noexcept
 
bool operator!= (const CurrentPositionInfo &other) const noexcept
 
void resetToDefault ()
 

Public Attributes

double bpm
 
int timeSigNumerator
 
int timeSigDenominator
 
int64 timeInSamples
 
double timeInSeconds
 
double editOriginTime
 
double ppqPosition
 
double ppqPositionOfLastBarStart
 
FrameRateType frameRate
 
bool isPlaying
 
bool isRecording
 
double ppqLoopStart
 
double ppqLoopEnd
 
bool isLooping
 

Detailed Description

This structure is filled-in by the AudioPlayHead::getCurrentPosition() method.

Member Function Documentation

bool AudioPlayHead::CurrentPositionInfo::operator!= ( const CurrentPositionInfo other) const
noexcept
bool AudioPlayHead::CurrentPositionInfo::operator== ( const CurrentPositionInfo other) const
noexcept
void AudioPlayHead::CurrentPositionInfo::resetToDefault ( )

Member Data Documentation

double juce::AudioPlayHead::CurrentPositionInfo::bpm

The tempo in BPM

double juce::AudioPlayHead::CurrentPositionInfo::editOriginTime

For timecode, the position of the start of the edit, in seconds from 00:00:00:00.

FrameRateType juce::AudioPlayHead::CurrentPositionInfo::frameRate

The video frame rate, if applicable.

bool juce::AudioPlayHead::CurrentPositionInfo::isLooping

True if the transport is currently looping.

bool juce::AudioPlayHead::CurrentPositionInfo::isPlaying

True if the transport is currently playing.

bool juce::AudioPlayHead::CurrentPositionInfo::isRecording

True if the transport is currently recording.

(When isRecording is true, then isPlaying will also be true).

double juce::AudioPlayHead::CurrentPositionInfo::ppqLoopEnd

The current cycle end position in pulses-per-quarter-note. Note that not all hosts or plugin formats may provide this value.

See also
isLooping
double juce::AudioPlayHead::CurrentPositionInfo::ppqLoopStart

The current cycle start position in pulses-per-quarter-note. Note that not all hosts or plugin formats may provide this value.

See also
isLooping
double juce::AudioPlayHead::CurrentPositionInfo::ppqPosition

The current play position, in pulses-per-quarter-note.

double juce::AudioPlayHead::CurrentPositionInfo::ppqPositionOfLastBarStart

The position of the start of the last bar, in pulses-per-quarter-note.

This is the time from the start of the edit 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.

int64 juce::AudioPlayHead::CurrentPositionInfo::timeInSamples

The current play position, in samples from the start of the edit.

double juce::AudioPlayHead::CurrentPositionInfo::timeInSeconds

The current play position, in seconds from the start of the edit.

int juce::AudioPlayHead::CurrentPositionInfo::timeSigDenominator

Time signature denominator, e.g. the 4 of a 3/4 time sig

int juce::AudioPlayHead::CurrentPositionInfo::timeSigNumerator

Time signature numerator, e.g. the 3 of a 3/4 time sig


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