AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAX_IController.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright 2013 by Avid Technology, Inc.
5  * All rights reserved.
6  *
7  * CONFIDENTIAL: This document contains confidential information. Do not
8  * read or examine this document unless you are an Avid Technology employee
9  * or have signed a non-disclosure agreement with Avid Technology which protects
10  * the confidentiality of this document. DO NOT DISCLOSE ANY INFORMATION
11  * CONTAINED IN THIS DOCUMENT TO ANY THIRD-PARTY WITHOUT THE PRIOR WRITTEN CONSENT
12  * OF Avid Technolgy, INC.
13  *
14  */
15 
22 /*================================================================================================*/
23 
24 
25 #ifndef _AAX_ICONTROLLER_H_
26 #define _AAX_ICONTROLLER_H_
27 
28 #include "AAX_Properties.h"
29 #include "AAX_IString.h"
30 #include "AAX.h"
31 
40 {
41 public:
42 
43  virtual ~AAX_IController(void) {}
44 
50  virtual AAX_Result GetEffectID (
51  AAX_IString * oEffectID) const = 0;
58  virtual // AAX_VController
61  AAX_CSampleRate *oSampleRate ) const = 0;
68  virtual // AAX_VController
71  AAX_EStemFormat *oStemFormat ) const = 0;
78  virtual // AAX_VController
81  AAX_EStemFormat *oStemFormat) const = 0;
98  virtual
99  AAX_Result
101  int32_t* oSamples) const = 0;
125  virtual
126  AAX_Result
128  AAX_EProperty iWhichCycleCount,
129  AAX_CPropertyValue* oValue) const = 0;
138  virtual
139  AAX_Result
141  AAX_CTimeOfDay* oTODLocation ) const = 0;
143 
169  virtual
170  AAX_Result
172  int32_t iNumSamples) = 0;
199  virtual
200  AAX_Result
202  AAX_EProperty* iWhichCycleCounts,
203  AAX_CPropertyValue* iValues,
204  int32_t oNumValues) = 0;
206 
228  virtual // AAX_VController
229  AAX_Result
230  PostPacket (
231  AAX_CFieldIndex iFieldIndex,
232  const void * iPayloadP,
233  uint32_t iPayloadSize) = 0;
235 
255  virtual AAX_Result SendNotification (/* AAX_ENotificationEvent */ AAX_CTypeID iNotificationType, const void* iNotificationData, uint32_t iNotificationDataSize) = 0;
257 
273  virtual AAX_Result GetCurrentMeterValue ( AAX_CTypeID iMeterID, float * oMeterValue ) const = 0;
282  virtual AAX_Result GetMeterPeakValue ( AAX_CTypeID iMeterID, float * oPeakValue ) const = 0;
289  virtual AAX_Result ClearMeterPeakValue ( AAX_CTypeID iMeterID ) const = 0;
298  virtual AAX_Result GetMeterCount ( uint32_t * oMeterCount ) const = 0;
309  virtual AAX_Result GetMeterClipped ( AAX_CTypeID iMeterID, AAX_CBoolean * oClipped ) const = 0;
318  virtual AAX_Result ClearMeterClipped ( AAX_CTypeID iMeterID ) const = 0;
320 
321 
336  virtual AAX_Result GetNextMIDIPacket ( AAX_CFieldIndex* oPort, AAX_CMidiPacket* oPacket ) = 0;
338 
353  virtual
354  AAX_Result GetHybridSignalLatency(int32_t* oSamples) const = 0;
363  virtual
371  virtual
372  AAX_Result GetHostName(AAX_IString* oHostNameString) const = 0;
373 
374 
375 };
376 
377 #endif // #ifndef _AAX_IPLUGIN_H_
Packet structure for MIDI data.
Definition: AAX.h:295
Contains IDs for properties that can be added to an AAX_IPropertyMap.
Various utility definitions for AAX.
int32_t AAX_CPropertyValue
Definition: AAX.h:119
virtual AAX_Result GetMeterClipped(AAX_CTypeID iMeterID, AAX_CBoolean *oClipped) const =0
CALL: Retrieves the clipped flag from a host-managed plug-in meter.
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.
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 ...
virtual AAX_Result GetSampleRate(AAX_CSampleRate *oSampleRate) const =0
CALL: Returns the current literal sample rate.
virtual AAX_Result SendNotification(AAX_CTypeID iNotificationType, const void *iNotificationData, uint32_t iNotificationDataSize)=0
CALL: Sends an event to the GUI.
virtual AAX_Result GetOutputStemFormat(AAX_EStemFormat *oStemFormat) const =0
CALL: Returns the plug-in's output stem format.
virtual AAX_Result GetCurrentMeterValue(AAX_CTypeID iMeterID, float *oMeterValue) const =0
CALL: Retrieves the current value of a host-managed plug-in meter.
int64_t AAX_CTransportCounter
Offset of samples from transport start. Same as TimeOfDay, but added for new interfaces as TimeOfDay ...
Definition: AAX.h:114
virtual AAX_Result GetEffectID(AAX_IString *oEffectID) const =0
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.
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:110
virtual AAX_Result GetHybridSignalLatency(int32_t *oSamples) const =0
CALL: Returns the latency between the algorithm normal input samples and the inputs returning from th...
virtual AAX_Result GetMeterCount(uint32_t *oMeterCount) const =0
CALL: Retrieves the number of host-managed meters registered by a plug-in.
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...
AAX_EProperty
The list of properties that can be added to an AAX_IPropertyMap.
Definition: AAX_Properties.h:66
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:117
virtual AAX_Result ClearMeterClipped(AAX_CTypeID iMeterID) const =0
CALL: Clears the clipped flag from a host-managed plug-in meter.
virtual AAX_Result GetCurrentAutomationTimestamp(AAX_CTransportCounter *oTimestamp) const =0
CALL: Returns the current automation timestamp if called during the GenerateCoefficients() call AND t...
An AAX string interface.
A simple string container that can be passed across a binary boundary. This class, for simplicity, is not versioned and thus can never change.
Definition: AAX_IString.h:40
int32_t AAX_Result
Definition: AAX.h:118
virtual AAX_Result GetInputStemFormat(AAX_EStemFormat *oStemFormat) const =0
CALL: Returns the plug-in's input stem format.
Interface for the AAX host's view of a single instance of an effect. Used by both clients of the AAX ...
Definition: AAX_IController.h:39
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.
float AAX_CSampleRate
Literal sample rate value used by the sample rate field. For AAX_eProperty_SampleRate, use a mask of AAX_ESampleRateMask.
Definition: AAX.h:115
virtual AAX_Result ClearMeterPeakValue(AAX_CTypeID iMeterID) const =0
CALL: Clears the peak value from a host-managed plug-in meter.
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.
virtual AAX_Result GetCycleCount(AAX_EProperty iWhichCycleCount, AAX_CPropertyValue *oValue) const =0
CALL: returns the plug-in's current real-time DSP cycle count.
virtual AAX_Result GetNextMIDIPacket(AAX_CFieldIndex *oPort, AAX_CMidiPacket *oPacket)=0
CALL: Retrieves MIDI packets for described MIDI nodes.
virtual ~AAX_IController(void)
Definition: AAX_IController.h:43
AAX_CIndex AAX_CFieldIndex
Not used by AAX plug-ins (except in AAX_FIELD_INDEX macro)
Definition: AAX.h:125
AAX_EStemFormat
Definition: AAX_Enums.h:216
virtual AAX_Result GetTODLocation(AAX_CTimeOfDay *oTODLocation) const =0
CALL: Returns the current Time Of Day (TOD) of the system.
int64_t AAX_CTimeOfDay
Hardware running clock value. MIDI packet time stamps are measured against this clock. This is actually the same as TransportCounter, but kept for compatibility.
Definition: AAX.h:113