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

Interface for the AAX host's view of a single instance of an effect. Used by both clients of the AAX host and by effect components.
Public Member Functions | |
| virtual | ~AAX_IController (void) |
| virtual AAX_Result | GetHybridSignalLatency (int32_t *oSamples) const =0 |
| CALL: Returns the latency between the algorithm normal input samples and the inputs returning from the hyrbid component. More... | |
| virtual AAX_Result | GetCurrentAutomationTimestamp (AAX_CTransportCounter *oTimestamp) const =0 |
| CALL: Returns the current automation timestamp if called during the GenerateCoefficients() call AND the generation of coefficients is being triggered by an automation point instead of immediate changes. More... | |
| virtual AAX_Result | GetHostName (AAX_IString *oHostNameString) const =0 |
| CALL: Returns name of the host application this plug-in instance is being loaded by. This string also typically includes version information. More... | |
Host information getters | |
Call these methods to retrieve environment and run-time information from the AAX host. | |
| virtual AAX_Result | GetEffectID (AAX_IString *oEffectID) const =0 |
| virtual AAX_Result | GetSampleRate (AAX_CSampleRate *oSampleRate) const =0 |
| CALL: Returns the current literal sample rate. More... | |
| virtual AAX_Result | GetInputStemFormat (AAX_EStemFormat *oStemFormat) const =0 |
| CALL: Returns the plug-in's input stem format. More... | |
| virtual AAX_Result | GetOutputStemFormat (AAX_EStemFormat *oStemFormat) const =0 |
| CALL: Returns the plug-in's output stem format. More... | |
| virtual AAX_Result | GetSignalLatency (int32_t *oSamples) const =0 |
| CALL: Returns the most recent signal (algorithmic) latency that has been published by the plug-in. More... | |
| virtual AAX_Result | GetCycleCount (AAX_EProperty iWhichCycleCount, AAX_CPropertyValue *oValue) const =0 |
| CALL: returns the plug-in's current real-time DSP cycle count. More... | |
| virtual AAX_Result | GetTODLocation (AAX_CTimeOfDay *oTODLocation) const =0 |
| CALL: Returns the current Time Of Day (TOD) of the system. More... | |
Host information setters | |
Call these methods to set dynamic plug-in run-time information on the AAX host. | |
| virtual AAX_Result | SetSignalLatency (int32_t iNumSamples)=0 |
| CALL: Submits a request to change the delay compensation value that the host uses to account for the plug-in's signal (algorithmic) latency. More... | |
| virtual AAX_Result | SetCycleCount (AAX_EProperty *iWhichCycleCounts, AAX_CPropertyValue *iValues, int32_t oNumValues)=0 |
| CALL: Indicates a change in the plug-in's real-time DSP cycle count. More... | |
Posting methods | |
Call these methods to post new plug-in information to the host's data management system. | |
| virtual AAX_Result | PostPacket (AAX_CFieldIndex iFieldIndex, const void *iPayloadP, uint32_t iPayloadSize)=0 |
| CALL: Posts a data packet to the host for routing between plug-in components. More... | |
Notification methods | |
Call these methods to send events among plug-in components | |
| virtual AAX_Result | SendNotification (AAX_CTypeID iNotificationType, const void *iNotificationData, uint32_t iNotificationDataSize)=0 |
| CALL: Sends an event to the GUI. More... | |
Metering methods | |
Methods to access the plug-in's host-managed metering information.
| |
| virtual AAX_Result | GetCurrentMeterValue (AAX_CTypeID iMeterID, float *oMeterValue) const =0 |
| CALL: Retrieves the current value of a host-managed plug-in meter. More... | |
| virtual AAX_Result | GetMeterPeakValue (AAX_CTypeID iMeterID, float *oPeakValue) const =0 |
| CALL: Retrieves the currently held peak value of a host-managed plug-in meter. More... | |
| virtual AAX_Result | ClearMeterPeakValue (AAX_CTypeID iMeterID) const =0 |
| CALL: Clears the peak value from a host-managed plug-in meter. More... | |
| virtual AAX_Result | GetMeterCount (uint32_t *oMeterCount) const =0 |
| CALL: Retrieves the number of host-managed meters registered by a plug-in. More... | |
| virtual AAX_Result | GetMeterClipped (AAX_CTypeID iMeterID, AAX_CBoolean *oClipped) const =0 |
| CALL: Retrieves the clipped flag from a host-managed plug-in meter. More... | |
| virtual AAX_Result | ClearMeterClipped (AAX_CTypeID iMeterID) const =0 |
| CALL: Clears the clipped flag from a host-managed plug-in meter. More... | |
MIDI methods | |
Methods to access the plug-in's host-managed MIDI information. | |
| virtual AAX_Result | GetNextMIDIPacket (AAX_CFieldIndex *oPort, AAX_CMidiPacket *oPacket)=0 |
| CALL: Retrieves MIDI packets for described MIDI nodes. More... | |
|
inlinevirtual |
|
pure virtual |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns the current literal sample rate.
| [out] | oSampleRate | The current sample rate |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns the plug-in's input stem format.
| [out] | oStemFormat | The current input stem format |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns the plug-in's output stem format.
| [out] | oStemFormat | The current output stem format |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns the most recent signal (algorithmic) latency that has been published by the plug-in.
This method provides the most recently published signal latency. The host may not have updated its delay compensation to match this signal latency yet, so plug-ins that dynamically change their latency using SetSignalLatency() should always wait for an AAX_eNotificationEvent_SignalLatencyChanged notification before updating its algorithm to incur this latency.
| [out] | oSamples | The number of samples of signal delay published by the plug-in |
Implemented in AAX_VController.
|
pure virtual |
CALL: returns the plug-in's current real-time DSP cycle count.
This method provides the number of cycles that the AAX host expects the DSP plug-in to consume. The host uses this value when allocating DSP resources for the plug-in.
| [in] | iWhichCycleCount | Selector for the requested cycle count metric. One of: |
| [in] | oValue | The current value of the selected cycle count metric |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns the current Time Of Day (TOD) of the system.
This method provides a plug-in the TOD (in samples) of the current system.
| [out] | oTODLocation | The current Time Of Day as set by the host |
Implemented in AAX_VController.
|
pure virtual |
CALL: Submits a request to change the delay compensation value that the host uses to account for the plug-in's signal (algorithmic) latency.
This method is used to request a change in the number of samples that the AAX host expects the plug-in to delay a signal.
The host is not guaranteed to immediately apply the new latency value. A plug-in should avoid incurring an actual algorithmic latency that is different than the latency accounted for by the host.
To set a new latency value, a plug-in must call AAX_IController::SetSignalLatency(), then wait for an AAX_eNotificationEvent_SignalLatencyChanged notification. Once this notification has been received, AAX_IController::GetSignalLatency() will reflect the updated latency value and the plug-in should immediately apply any relevant algorithmic changes that alter its latency to this new value.
| [in] | iNumSamples | The number of samples of signal delay that the plug-in requests to incur |
Implemented in AAX_VController.
|
pure virtual |
CALL: Indicates a change in the plug-in's real-time DSP cycle count.
This method is used to request a change in the number of cycles that the AAX host expects the DSP plug-in to consume.
| [in] | iWhichCycleCounts | Array of selectors indicating the specific cycle count metrics that should be set. Each selector must be one of: |
| [in] | iValues | An array of values requested, one for each of the selected cycle count metrics. |
| [out] | oNumValues | The number of values provided |
Implemented in AAX_VController.
|
pure virtual |
CALL: Posts a data packet to the host for routing between plug-in components.
The posted packet is identified with a AAX_CFieldIndex packet index value, which is equivalent to the target data port's identifier. The packet's payload must have the expected size for the given packet index / data port, as defined when the port is created in Describe. See AAX_IComponentDescriptor::AddDataInPort().
| [in] | iFieldIndex | The packet's destination port |
| [in] | iPayloadP | A pointer to the packet's payload data |
| [in] | iPayloadSize | The size, in bytes, of the payload data |
Implemented in AAX_VController.
|
pure virtual |
CALL: Sends an event to the GUI.
This is supported by AAX V2 Hosts only. Check the return code on the return of this function. If the error is AAX_ERROR_UNIMPLEMENTED, your plug-in is being loaded into a host that doesn't support this feature.
| [in] | iNotificationType | Type of notification to send |
| [in] | iNotificationData | Block of notification data |
| [in] | iNotificationDataSize | Size of iNotificationData, in bytes |
Implemented in AAX_VController.
|
pure virtual |
CALL: Retrieves the current value of a host-managed plug-in meter.
| [in] | iMeterID | ID of the meter that is being queried |
| [out] | oMeterValue | The queried meter's current value |
Implemented in AAX_VController.
|
pure virtual |
CALL: Retrieves the currently held peak value of a host-managed plug-in meter.
| [in] | iMeterID | ID of the meter that is being queried |
| [out] | oPeakValue | The queried meter's currently held peak value |
Implemented in AAX_VController.
|
pure virtual |
CALL: Clears the peak value from a host-managed plug-in meter.
| [in] | iMeterID | ID of the meter that is being cleared |
Implemented in AAX_VController.
|
pure virtual |
CALL: Retrieves the number of host-managed meters registered by a plug-in.
See AAX_IComponentDescriptor::AddMeters().
| [out] | oMeterCount | The number of registered plug-in meters. |
Implemented in AAX_VController.
|
pure virtual |
CALL: Retrieves the clipped flag from a host-managed plug-in meter.
See AAX_IComponentDescriptor::AddMeters().
| [in] | iMeterID | ID of the meter that is being queried. |
| [out] | oClipped | The queried meter's clipped flag. |
Implemented in AAX_VController.
|
pure virtual |
CALL: Clears the clipped flag from a host-managed plug-in meter.
See AAX_IComponentDescriptor::AddMeters().
| [in] | iMeterID | ID of the meter that is being cleared. |
Implemented in AAX_VController.
|
pure virtual |
CALL: Retrieves MIDI packets for described MIDI nodes.
| [out] | oPort | port ID of the MIDI node that has unhandled packet |
| [out] | oPacket | The MIDI packet |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns the current automation timestamp if called during the GenerateCoefficients() call AND the generation of coefficients is being triggered by an automation point instead of immediate changes.
| [out] | oTimestamp | The current coefficient timestamp. Sample count from transport start. |
Implemented in AAX_VController.
|
pure virtual |
CALL: Returns name of the host application this plug-in instance is being loaded by. This string also typically includes version information.
| [out] | oHostNameString | The name of the current host application. |
Implemented in AAX_VController.
1.8.5