이 파일의 문서화 페이지로 가기
31 #ifndef _AK_WWISE_AUDIOPLUGIN_H
32 #define _AK_WWISE_AUDIOPLUGIN_H
60 const GUID & in_guidPlatform,
62 LPCWSTR in_szSourceFile,
63 LPCWSTR in_szDestFile,
71 const GUID & in_guidPlatform,
96 const GUID & in_guidPlatform,
97 LPCWSTR in_pszPropertyName,
98 VARIANT & out_varProperty
104 const GUID & in_guidPlatform,
105 LPCWSTR in_pszPropertyName,
106 const VARIANT & in_varProperty
112 LPCWSTR in_pszPropertyName
150 const GUID & in_guidPlatform,
153 UINT32 & out_uDaysToExpiry
158 const GUID & in_guidPlatform,
162 UINT32 & out_uDaysToExpiry
166 virtual const GUID&
GetID()
const = 0;
170 const char* in_szUri,
171 const char* in_szArgs,
172 const char* in_szOptions,
174 char*& out_szResults,
197 LPCWSTR in_pszListName,
198 unsigned int in_uiIndex,
212 LPCWSTR in_pszListName,
213 unsigned int in_uiIndex
219 LPCWSTR in_pszListName
243 unsigned int in_uiListIndex,
244 LPWSTR out_pszListName,
245 unsigned int in_uiBufferSize
262 LPCWSTR in_pszFilePathToImport,
263 unsigned int in_Index = 0,
264 bool in_bReplace =
false
269 unsigned int in_Index = 0
281 LPWSTR out_pszFileName,
282 unsigned int in_uiBufferSize,
283 unsigned int in_Index = 0
289 LPWSTR out_pszFileName,
290 unsigned int in_uiBufferSize,
291 unsigned int in_Index = 0
297 LPWSTR out_pszFileName,
298 unsigned int in_uiBufferSize,
299 const GUID & in_guidPlatform,
300 unsigned int in_Index = 0
309 LPWSTR out_pszDirectory,
310 unsigned int in_uiBufferSize
316 LPWSTR out_pszDirectory,
317 unsigned int in_uiBufferSize,
318 const GUID & in_guidPlatform
412 virtual bool Load( AK::IXmlTextReader* in_pReader ) = 0;
416 virtual bool Save( AK::IXmlTextWriter* in_pWriter ) = 0;
431 const GUID & in_guidCurrentPlatform
439 const GUID & in_guidPlatform,
440 LPCWSTR in_pszPropertyName
450 const GUID & in_guidPlatform,
451 LPCWSTR in_pszPropertyName
460 unsigned int in_uiIndex,
481 const GUID & in_guidPlatform,
496 const GUID & in_guidPlatform,
516 UINT & out_uiDialogID,
531 LRESULT & out_lResult
544 LPCWSTR in_pszPropertyName,
545 LPWSTR out_pszDisplayName,
565 LPCWSTR in_pszPropertyName,
566 LPWSTR out_pszValuesName,
578 LPCWSTR in_szLanguageCode
589 unsigned int in_uCount,
590 bool in_bNeedsByteSwap,
605 const GUID & in_guidPlatform,
607 LPWSTR out_pszMessage,
608 unsigned int in_uiBufferSize
614 double& out_dblMinDuration,
615 double& out_dblMaxDuration
629 virtual bool Load( AK::IXmlTextReader* in_pReader ) {
return false; }
630 virtual bool Save( AK::IXmlTextWriter* in_pWriter ) {
return false; }
639 virtual bool WindowProc(
eDialog in_eDialog, HWND in_hWnd, UINT in_message, WPARAM in_wParam, LPARAM in_lParam, LRESULT & out_lResult ){
return false; }
640 virtual bool DisplayNameForProp( LPCWSTR in_pszPropertyName, LPWSTR out_pszDisplayName, UINT in_unCharCount )
const {
return false; }
641 virtual bool DisplayNamesForPropValues( LPCWSTR in_pszPropertyName, LPWSTR out_pszValuesName, UINT in_unCharCount )
const {
return false; }
642 virtual bool Help( HWND in_hWnd,
eDialog in_eDialog, LPCWSTR in_szLanguageCode )
const {
return false; }
646 virtual bool GetSourceDuration(
double& out_dblMinDuration,
double& out_dblMaxDuration )
const { out_dblMinDuration = 0.f; out_dblMaxDuration = FLT_MAX;
return false; }
657 AKASSERT(!
"g_pAKPluginList is NULL. Did you use the AK_STATIC_LINK_PLUGIN macro in your DLL?");
661 HMODULE hLib = ::LoadLibrary(L
"WwiseSoundEngine.dll");
674 #define AK_MAX_OUTPUTDEVICEDESCRIPTOR 256
687 #ifndef WM_AK_PRIVATE_SHOW_HELP_TOPIC
688 #define WM_AK_PRIVATE_SHOW_HELP_TOPIC 0x4981
691 #endif // _AK_WWISE_AUDIOPLUGIN_H
virtual bool Load(AK::IXmlTextReader *in_pReader)
virtual IPluginPropertySet * CreateObject(LPCWSTR in_pszType)=0
virtual bool GetBankParameters(const GUID &in_guidPlatform, IWriteData *in_pDataWriter) const =0
virtual void NotifyMonitorData(AkTimeMs in_iTimeStamp, const AK::Wwise::IAudioPlugin::MonitorData *in_pData, unsigned int in_uDataSize, bool in_bNeedsByteSwap, bool in_bRealtime)
virtual bool WindowProc(eDialog in_eDialog, HWND in_hWnd, UINT in_message, WPARAM in_wParam, LPARAM in_lParam, LRESULT &out_lResult)
virtual bool DisplayNamesForPropValues(LPCWSTR in_pszPropertyName, LPWSTR out_pszValuesName, UINT in_unCharCount) const =0
virtual AK::Wwise::LicenseStatus GetLicenseStatus(const GUID &in_guidPlatform, AK::Wwise::Severity &out_eSeverity, LPWSTR out_pszMessage, unsigned int in_uiBufferSize)=0
AkInt32 AkTimeMs
Time in ms
@ AK_Fail
The operation failed.
virtual bool RemoveObject(IPluginPropertySet *in_pPropertySet)=0
virtual const GUID & GetID() const =0
Obtain the unique identifier of the corresponding IWObject.
virtual void SetPluginPropertySet(IPluginPropertySet *in_pPSet)=0
AKRESULT RegisterWwisePlugin()
AK_DLLEXPORT AK::PluginRegistration * g_pAKPluginList
virtual IPluginMediaConverter * GetPluginMediaConverterInterface()
virtual HINSTANCE GetResourceHandle() const
virtual bool GetBankParameters(const GUID &in_guidPlatform, IWriteData *in_pDataWriter) const
virtual void InitToDefault()
AKRESULT
Standard function call result.
virtual bool DisplayNameForProp(LPCWSTR in_pszPropertyName, LPWSTR out_pszDisplayName, UINT in_unCharCount) const
virtual bool Help(HWND in_hWnd, eDialog in_eDialog, LPCWSTR in_szLanguageCode) const =0
virtual bool CanLogUndos()=0
virtual unsigned int GetListName(unsigned int in_uiListIndex, LPWSTR out_pszListName, unsigned int in_uiBufferSize) const =0
virtual bool CopyInto(IAudioPlugin *io_pWObject) const =0
virtual bool WindowProc(eDialog in_eDialog, HWND in_hWnd, UINT in_message, WPARAM in_wParam, LPARAM in_lParam, LRESULT &out_lResult)=0
ConversionResult
Conversion error code.
virtual IPluginMediaConverter * GetPluginMediaConverterInterface()=0
@ LicenseStatus_Valid
A license is found and is valid
LicenseType
License type.
virtual AK::Wwise::LicenseStatus GetLicenseStatus(const GUID &, AK::Wwise::Severity &, LPWSTR, unsigned int in_uiBufferSize)
AkUInt32 idDevice
Display name of the device. Null terminated. Note that the name can't be more than 256 characters inc...
virtual bool PropertyHasRTPC(LPCWSTR in_pszPropertyName)=0
virtual void NotifyPropertyChanged(const GUID &in_guidPlatform, LPCWSTR in_pszPropertyName)=0
virtual void NotifyPluginMediaChanged()
Use this base class to quickly implement most plugin functions empty
virtual bool GetValue(const GUID &in_guidPlatform, LPCWSTR in_pszPropertyName, VARIANT &out_varProperty)=0
NotifyInnerObjectOperation
Type of operation for the NotifyInnerObjectAddedRemoved function.
AKRESULT(CALLBACK * RegisterWwisePluginFn)(AK::PluginRegistration *in_pList)
virtual void NotifyInnerObjectAddedRemoved(IPluginPropertySet *in_pPSet, unsigned int in_uiIndex, NotifyInnerObjectOperation in_eOperation)=0
virtual IPluginPropertySet * GetObject(LPCWSTR in_pszListName, unsigned int in_uiIndex) const =0
virtual void WaapiCall(const char *in_szUri, const char *in_szArgs, const char *in_szOptions, AK::IAkPluginMemAlloc *in_pAlloc, char *&out_szResults, char *&out_szError) const =0
Find and call the specified procedure. Calls made using this function are always blocking.
virtual bool IsPlayable() const
#define AKASSERT(Condition)
virtual bool GetSourceDuration(double &out_dblMinDuration, double &out_dblMaxDuration) const =0
virtual void NotifyInnerObjectPropertyChanged(IPluginPropertySet *in_pPSet, const GUID &in_guidPlatform, LPCWSTR in_pszPropertyName)=0
virtual HINSTANCE GetResourceHandle() const =0
virtual bool GetDialog(eDialog in_eDialog, UINT &out_uiDialogID, PopulateTableItem *&out_pTable) const =0
virtual void InsertObject(LPCWSTR in_pszListName, unsigned int in_uiIndex, IPluginPropertySet *in_pPropertySet)=0
virtual void NotifyInternalDataChanged(AkPluginParamID in_idData, bool in_bMakeProjectDirty=true)=0
virtual BasePlatformID GetCurrentBasePlatform()=0
virtual void SetPluginPropertySet(IPluginPropertySet *in_pPSet)
virtual bool Load(AK::IXmlTextReader *in_pReader)=0
virtual GUID GetCurrentPlatform()=0
WCHAR name[AK_MAX_OUTPUTDEVICEDESCRIPTOR]
virtual bool DisplayNameForProp(LPCWSTR in_pszPropertyName, LPWSTR out_pszDisplayName, UINT in_unCharCount) const =0
virtual void NotifyCurrentPlatformChanged(const GUID &in_guidCurrentPlatform)=0
virtual bool SetValue(const GUID &in_guidPlatform, LPCWSTR in_pszPropertyName, const VARIANT &in_varProperty)=0
virtual bool Save(AK::IXmlTextWriter *in_pWriter)=0
virtual bool DisplayNamesForPropValues(LPCWSTR in_pszPropertyName, LPWSTR out_pszValuesName, UINT in_unCharCount) const
virtual GUID GetAuthoringPlaybackPlatform()=0
This function is called To retrieve the custom platform being used to run while in authoring
virtual void SetPluginObjectStore(IPluginObjectStore *in_pObjectStore)
virtual void InitToDefault()=0
virtual bool Help(HWND in_hWnd, eDialog in_eDialog, LPCWSTR in_szLanguageCode) const
LicenseStatus
License status.
virtual bool GetSourceDuration(double &out_dblMinDuration, double &out_dblMaxDuration) const
virtual void NotifyPluginMediaChanged()=0
virtual AK::Wwise::IUndoManager * GetUndoManager()=0
virtual bool GetPluginData(const GUID &in_guidPlatform, AkPluginParamID in_idParam, IWriteData *in_pDataWriter) const =0
virtual bool IsPlayable() const =0
virtual void NotifyInnerObjectAddedRemoved(IPluginPropertySet *in_pPSet, unsigned int in_uiIndex, NotifyInnerObjectOperation in_eOperation)
virtual bool CopyInto(IAudioPlugin *io_pWObject) const
virtual bool Save(AK::IXmlTextWriter *in_pWriter)
virtual unsigned int GetListCount() const =0
virtual void GetAssetLicenseStatus(const GUID &in_guidPlatform, AkUInt32 in_uAssetID, AK::Wwise::LicenseType &out_eType, AK::Wwise::LicenseStatus &out_eStatus, UINT32 &out_uDaysToExpiry)=0
Obtain licensing status for a plug-in-specific asset ID. Refer to Managing Licenses for more informat...
#define AK_MAX_OUTPUTDEVICEDESCRIPTOR
Struct to be used with the function GetSinkPluginDevices to return devices.
virtual void NotifyPropertyChanged(const GUID &in_guidPlatform, LPCWSTR in_pszPropertyName)
AkInt16 AkPluginParamID
Source or effect plug-in parameter ID
virtual void NotifyInnerObjectPropertyChanged(IPluginPropertySet *in_pPSet, const GUID &in_guidPlatform, LPCWSTR in_pszPropertyName)
virtual void DeleteObject(IPluginPropertySet *in_pPropertySet)=0
virtual void SetPluginObjectStore(IPluginObjectStore *in_pObjectStore)=0
virtual bool GetPluginData(const GUID &in_guidPlatform, AkPluginParamID in_idParam, IWriteData *in_pDataWriter) const
virtual unsigned int GetObjectCount(LPCWSTR in_pszListName) const =0
virtual bool GetDialog(eDialog in_eDialog, UINT &out_uiDialogID, PopulateTableItem *&out_pTable) const
virtual void GetLicenseStatus(const GUID &in_guidPlatform, AK::Wwise::LicenseType &out_eType, AK::Wwise::LicenseStatus &out_eStatus, UINT32 &out_uDaysToExpiry)=0
Obtain licensing status for the plug-in. Refer to Managing Licenses for more information.
virtual void SetPluginObjectMedia(IPluginObjectMedia *in_pObjectMedia)
virtual void SetPluginObjectMedia(IPluginObjectMedia *in_pObjectMedia)=0
virtual BasePlatformID GetDefaultNativeAuthoringPlaybackPlatform()=0
This function is called To retrieve the base platforms of the authoring tool.
Severity
Log message severity.
virtual void NotifyCurrentPlatformChanged(const GUID &in_guidCurrentPlatform)
virtual void NotifyMonitorData(AkTimeMs in_iTimeStamp, const MonitorData *in_pDataArray, unsigned int in_uCount, bool in_bNeedsByteSwap, bool in_bRealtime)=0
지원이 필요하신가요?
질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!
지원 페이지를 방문해 주세요
작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요