132 void resetToDefault();
152 virtual void transportPlay (
bool shouldStartPlaying) { ignoreUnused (shouldStartPlaying); }
155 virtual void transportRecord (
bool shouldStartRecording) { ignoreUnused (shouldStartRecording); }
#define JUCE_API
This macro is added to all JUCE public class declarations.
virtual void transportRewind()
Rewinds the audio.
int64 timeInSamples
The current play position, in samples from the start of the timeline.
FrameRateType frameRate
The video frame rate, if applicable.
A subclass of AudioPlayHead can supply information about the position and status of a moving play hea...
virtual void transportRecord(bool shouldStartRecording)
Starts or stops recording the audio.
double ppqPositionOfLastBarStart
The position of the start of the last bar, in units of quarter-notes.
double timeInSeconds
The current play position, in seconds from the start of the timeline.
double ppqPosition
The current play position, in units of quarter-notes.
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.
virtual void transportPlay(bool shouldStartPlaying)
Starts or stops the audio.
bool isLooping
True if the transport is currently looping.
FrameRateType
Frame rate types.
int timeSigDenominator
Time signature denominator, e.g.
double editOriginTime
For timecode, the position of the start of the timeline, in seconds from 00:00:00:00.
int timeSigNumerator
Time signature numerator, e.g.
double ppqLoopStart
The current cycle start position in units of quarter-notes.
virtual bool canControlTransport()
Returns true if this object can control the transport.
double bpm
The tempo in BPM.
double ppqLoopEnd
The current cycle end position in units of quarter-notes.