![]() |
AAX SDK
2.1.1
Avid Audio Extensions Development Kit
|
#include <AAX_IACFTransport.h>


Versioned interface to information about the host's transport state.
Public Member Functions | |
| virtual AAX_Result | GetCurrentTempo (double *TempoBPM) const =0 |
| CALL: Gets the current tempo. More... | |
| virtual AAX_Result | GetCurrentMeter (int32_t *MeterNumerator, int32_t *MeterDenominator) const =0 |
| CALL: Gets the current meter. More... | |
| virtual AAX_Result | IsTransportPlaying (bool *isPlaying) const =0 |
| CALL: Indicates whether or not the transport is playing back. More... | |
| virtual AAX_Result | GetCurrentTickPosition (int64_t *TickPosition) const =0 |
| CALL: Gets the current tick position. More... | |
| virtual AAX_Result | GetCurrentLoopPosition (bool *bLooping, int64_t *LoopStartTick, int64_t *LoopEndTick) const =0 |
| CALL: Gets current information on loop playback. More... | |
| virtual AAX_Result | GetCurrentNativeSampleLocation (int64_t *SampleLocation) const =0 |
| CALL: Gets the current playback location of the native audio engine. More... | |
| virtual AAX_Result | GetCustomTickPosition (int64_t *oTickPosition, int64_t iSampleLocation) const =0 |
| CALL: Given an absolute sample position, gets the corresponding tick position. More... | |
| virtual AAX_Result | GetBarBeatPosition (int32_t *Bars, int32_t *Beats, int64_t *DisplayTicks, int64_t SampleLocation) const =0 |
| CALL: Given an absolute sample position, gets the corresponding bar and beat position. More... | |
| virtual AAX_Result | GetTicksPerQuarter (uint32_t *ticks) const =0 |
| CALL: Retrieves the number of ticks per quarter note. More... | |
| virtual AAX_Result | GetCurrentTicksPerBeat (uint32_t *ticks) const =0 |
| CALL: Retrieves the number of ticks per beat. More... | |
Public Member Functions inherited from IACFUnknown | |
| virtual BEGIN_ACFINTERFACE ACFRESULT ACFMETHODCALLTYPE | QueryInterface (const acfIID &iid, void **ppOut)=0 |
| Returns pointers to supported interfaces. More... | |
| virtual acfUInt32 ACFMETHODCALLTYPE | AddRef (void)=0 |
| Increments reference count. More... | |
| virtual acfUInt32 ACFMETHODCALLTYPE | Release (void)=0 |
| Decrements reference count. More... | |
|
pure virtual |
CALL: Gets the current tempo.
Returns the tempo corresponding to the current position of the transport counter
| [out] | TempoBPM | The current tempo in beats per minute |
|
pure virtual |
CALL: Gets the current meter.
Returns the meter corresponding to the current position of the transport counter
| [out] | MeterNumerator | The numerator portion of the meter |
| [out] | MeterDenominator | The denominator portion of the meter |
|
pure virtual |
CALL: Indicates whether or not the transport is playing back.
| [out] | isPlaying | true if the transport is currently in playback |
|
pure virtual |
CALL: Gets the current tick position.
Returns the current tick position corresponding to the current transport position. One "Tick" is represented here as 1/960000 of a quarter note. That is, there are 960,000 of these ticks in a quarter note.
| [out] | TickPosition | The tick position value |
|
pure virtual |
CALL: Gets current information on loop playback.
| [out] | bLooping | true if the host is configured to loop playback |
| [out] | LoopStartTick | The starting tick position of the selection being looped (see GetCurrentTickPosition()) |
| [out] | LoopEndTick | The ending tick position of the selection being looped (see GetCurrentTickPosition()) |
|
pure virtual |
CALL: Gets the current playback location of the native audio engine.
| [out] | SampleLocation | Absolute sample location of the first sample in the current native processing buffer |
|
pure virtual |
CALL: Given an absolute sample position, gets the corresponding tick position.
| [out] | oTickPosition | the timeline tick position corresponding to iSampleLocation |
| [in] | iSampleLocation | An absolute sample location (see GetCurrentNativeSampleLocation()) |
|
pure virtual |
CALL: Given an absolute sample position, gets the corresponding bar and beat position.
| [out] | Bars | The bar corresponding to SampleLocation |
| [out] | Beats | The beat corresponding to SampleLocation |
| [out] | DisplayTicks | The ticks corresponding to SampleLocation |
| [in] | SampleLocation | An absolute sample location (see GetCurrentNativeSampleLocation()) |
|
pure virtual |
CALL: Retrieves the number of ticks per quarter note.
| [out] | ticks |
|
pure virtual |
CALL: Retrieves the number of ticks per beat.
| [out] | ticks |
1.8.5