AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAX_Callbacks.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright (c) 2011 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_CALLBACKS_H_
26 #define AAX_CALLBACKS_H_
27 
28 #include "AAX.h"
29 
30 // Callback IDs
31 // Add new values to end!
33 {
39 };
40 
41 class IACFUnknown;
42 
44 
45 
49 template <typename aContextType>
51 {
52  public:
53 
54  typedef void
55  (AAX_CALLBACK *CProcessProc) (
56  aContextType * const inContextPtrsBegin [],
57  const void * inContextPtrsEnd);
58 
59  typedef void *
61  const aContextType * inContextPtr,
62  AAX_CFieldIndex inOutputPort,
63  AAX_CTimestamp inTimestamp);
64 
65  typedef int32_t
66  (AAX_CALLBACK *CInstanceInitProc) (
67  const aContextType * inInstanceContextPtr,
69 
70  typedef int32_t
71  (AAX_CALLBACK *CBackgroundProc) ( void );
72 
73  typedef void
74  (AAX_CALLBACK *CInitPrivateDataProc) (
75  AAX_CFieldIndex inFieldIndex,
76  void * inNewBlock,
78  IACFUnknown * const inController);
79 
80 };
81 
103 
117 
139 
150 
193 
194 #endif // AAX_CALLBACKS_H_
195 
AAX_Component< void >::CPacketAllocator AAX_CPacketAllocator
Used by AAX_SchedulePacket()
Definition: AAX_Callbacks.h:116
AAX_IEffectGUI creation procedure.
Definition: AAX_Callbacks.h:35
Various utility definitions for AAX.
typedef int32_t(AAX_CALLBACK *CInstanceInitProc)(const aContextType *inInstanceContextPtr
AAX_IEffectDirectData creation procedure, used by PIs that want direct access to their alg memory...
Definition: AAX_Callbacks.h:38
void * inNewBlock
Definition: AAX_Callbacks.h:76
#define AAX_CALLBACK
Definition: AAX.h:74
AAX_Component< void >::CInitPrivateDataProc AAX_CInitPrivateDataProc
A user-defined callback to initialize a private data block.
Definition: AAX_Callbacks.h:192
IACFUnknown *AAX_CALLBACK * AAXCreateObjectProc(void)
Definition: AAX_Callbacks.h:43
AAX_Component< void >::CProcessProc AAX_CProcessProc
A user-defined callback that AAX calls to process data packets and/or audio.
Definition: AAX_Callbacks.h:102
int64_t AAX_CTimestamp
Time stamp value. Measured against the DAE clock (see AAX_IComponentDescriptor::AddClock() ) ...
Definition: AAX.h:112
AAX_CProcPtrID
Definition: AAX_Callbacks.h:32
void int32_t IACFUnknown *const inController
Definition: AAX_Callbacks.h:76
typedef void(AAX_CALLBACK *CProcessProc)(aContextType *const inContextPtrsBegin[]
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.dox:231
Empty class containing type declarations for the AAX algorithm and associated callbacks.
Definition: AAX_Callbacks.h:50
void *AAX_CALLBACK * CPacketAllocator(const aContextType *inContextPtr, AAX_CFieldIndex inOutputPort, AAX_CTimestamp inTimestamp)
Definition: AAX_Callbacks.h:60
AAX_IHostProcessor creation procedure.
Definition: AAX_Callbacks.h:36
void int32_t inSize
Definition: AAX_Callbacks.h:76
AAX_IMixerParameters creation procedure, used by PIs that want ramped timestamp control changes...
Definition: AAX_Callbacks.h:37
AAX_Component< void >::CBackgroundProc AAX_CBackgroundProc
A user-defined callback that AAX calls in the AAX Idle time.
Definition: AAX_Callbacks.h:149
AAX_Component< void >::CInstanceInitProc AAX_CInstanceInitProc
A user-defined callback that AAX calls to notify the component that an instance is being added or rem...
Definition: AAX_Callbacks.h:138
AAX_EComponentInstanceInitAction
Selector indicating the action that occurred to prompt a component initialization callback...
Definition: AAX_Enums.h:449
AAX_IEffectParameters creation procedure.
Definition: AAX_Callbacks.h:34
AAX_EComponentInstanceInitAction iAction
Definition: AAX_Callbacks.h:68
const void * inContextPtrsEnd
Definition: AAX_Callbacks.h:57
AAX_CIndex AAX_CFieldIndex
Not used by AAX plug-ins (except in AAX_FIELD_INDEX macro)
Definition: AAX.h:125