Go to the documentation of this file.
28 #ifndef _AK_MIXERINPUTMAP_H_
29 #define _AK_MIXERINPUTMAP_H_
62 template <
class USER_DATA>
83 void* pNew =
Alloc(in_uNewSize);
84 if (pNew && in_pCurrent)
99 template <
class USER_DATA>
100 class AkMixerInputMap :
public AkArray<AkInputMapSlot<USER_DATA>, const AkInputMapSlot<USER_DATA>&, AkPluginArrayAllocator>
117 return (*it).pUserData;
124 if ( pSlot->pUserData )
126 pSlot->pContext = in_pInput;
127 return pSlot->pUserData;
139 if ( it != BaseClass::End() )
143 BaseClass::EraseSwap( it );
152 if ( BaseClass::m_pItems )
156 BaseClass::m_pItems = 0;
157 BaseClass::m_ulReserved = 0;
166 return BaseClass::FindEx( mapSlot );
176 (*it).~AkInputMapSlot();
178 BaseClass::m_uLength = 0;
182 #endif // _AK_MIXERINPUTMAP_H_
AkForceInline void AK_PLUGIN_DELETE(AK::IAkPluginMemAlloc *in_pAllocator, T *in_pObject)
AkForceInline void * Alloc(size_t in_uSize)
AkForceInline AK::IAkPluginMemAlloc * GetAllocator()
Interface to retrieve information about an input of a mixer.
#define AK_PLUGIN_NEW(_allocator, _what)
Specific implementation of array.
AkForceInline void * ReAlloc(void *in_pCurrent, size_t in_uOldSize, size_t in_uNewSize)
AkForceInline void Init(AK::IAkPluginMemAlloc *in_pAllocator)
void RemoveLast()
Removes the last item from the array.
#define AK_PLUGIN_FREE(_allocator, _pvmem)
AkForceInline void AkMemCpy(void *pDest, const void *pSrc, AkUInt32 uSize)
Platform Independent Helper.
#define AKASSERT(Condition)
Iterator End() const
Returns the iterator to the end of the array.
AkForceInline AkPluginArrayAllocator()
#define AK_PLUGIN_ALLOC(_allocator, _size)
AkForceInline AkInputMapSlot< USER_DATA > * AddLast()
AkForceInline void Free(void *in_pAddress)
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise