AAX SDK 2.6.1
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_VDataBufferWrapper.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 2023 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * CONFIDENTIAL: this document contains confidential information of Avid. Do
8 * not disclose to any third party. Use of the information contained in this
9 * document is subject to an Avid SDK license.
10 *
11 */
12
16/*================================================================================================*/
17
18#pragma once
19#ifndef AAX_VDATABUFFERWRAPPER_H
20#define AAX_VDATABUFFERWRAPPER_H
21
23#include "ACFPtr.h"
24
25class IACFUnknown;
27
40{
41public:
42 explicit AAX_VDataBufferWrapper(IACFUnknown * iUnknown);
44
46 AAX_Result Size(int32_t * oSize) const AAX_OVERRIDE;
47 AAX_Result Data(void const ** oBuffer) const AAX_OVERRIDE;
48
49private:
50 ACFPtr<AAX_IACFDataBuffer> mDataBufferV1;
51};
52
53#endif // AAX_VDATABUFFERWRAPPER_H
int32_t AAX_Result
Definition: AAX.h:334
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:151
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:333
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:41
Wrapper for an AAX_IDataBuffer.
Definition: AAX_IDataBufferWrapper.h:36
Wrapper for an AAX_IDataBuffer.
Definition: AAX_VDataBufferWrapper.h:40
~AAX_VDataBufferWrapper() AAX_OVERRIDE
AAX_VDataBufferWrapper(IACFUnknown *iUnknown)
AAX_Result Type(AAX_CTypeID *oType) const AAX_OVERRIDE
AAX_Result Size(int32_t *oSize) const AAX_OVERRIDE
AAX_Result Data(void const **oBuffer) const AAX_OVERRIDE