이 파일의 문서화 페이지로 가기
30 #ifndef _AK_WWISE_AUDIOPLUGIN_H
31 #define _AK_WWISE_AUDIOPLUGIN_H
59 const GUID & in_guidPlatform,
61 LPCWSTR in_szSourceFile,
62 LPCWSTR in_szDestFile,
70 const GUID & in_guidPlatform,
95 const GUID & in_guidPlatform,
96 LPCWSTR in_pszPropertyName,
97 VARIANT & out_varProperty
103 const GUID & in_guidPlatform,
104 LPCWSTR in_pszPropertyName,
105 const VARIANT & in_varProperty
111 LPCWSTR in_pszPropertyName
149 const GUID & in_guidPlatform,
152 UINT32 & out_uDaysToExpiry
157 const GUID & in_guidPlatform,
161 UINT32 & out_uDaysToExpiry
169 const char* in_szUri,
170 const char* in_szArgs,
171 const char* in_szOptions,
173 char*& out_szResults,
196 LPCWSTR in_pszListName,
197 unsigned int in_uiIndex,
211 LPCWSTR in_pszListName,
212 unsigned int in_uiIndex
218 LPCWSTR in_pszListName
242 unsigned int in_uiListIndex,
243 LPWSTR out_pszListName,
244 unsigned int in_uiBufferSize
261 LPCWSTR in_pszFilePathToImport,
262 unsigned int in_Index = 0,
263 bool in_bReplace =
false
268 unsigned int in_Index = 0
280 LPWSTR out_pszFileName,
281 unsigned int in_uiBufferSize,
282 unsigned int in_Index = 0
288 LPWSTR out_pszFileName,
289 unsigned int in_uiBufferSize,
290 unsigned int in_Index = 0
296 LPWSTR out_pszFileName,
297 unsigned int in_uiBufferSize,
298 const GUID & in_guidPlatform,
299 unsigned int in_Index = 0
308 LPWSTR out_pszDirectory,
309 unsigned int in_uiBufferSize
315 LPWSTR out_pszDirectory,
316 unsigned int in_uiBufferSize,
317 const GUID & in_guidPlatform
411 virtual bool Load( AK::IXmlTextReader* in_pReader ) = 0;
415 virtual bool Save( AK::IXmlTextWriter* in_pWriter ) = 0;
430 const GUID & in_guidCurrentPlatform
438 const GUID & in_guidPlatform,
439 LPCWSTR in_pszPropertyName
449 const GUID & in_guidPlatform,
450 LPCWSTR in_pszPropertyName
459 unsigned int in_uiIndex,
480 const GUID & in_guidPlatform,
495 const GUID & in_guidPlatform,
515 UINT & out_uiDialogID,
530 LRESULT & out_lResult
543 LPCWSTR in_pszPropertyName,
544 LPWSTR out_pszDisplayName,
564 LPCWSTR in_pszPropertyName,
565 LPWSTR out_pszValuesName,
577 LPCWSTR in_szLanguageCode
588 unsigned int in_uCount,
589 bool in_bNeedsByteSwap,
604 const GUID & in_guidPlatform,
606 LPWSTR out_pszMessage,
607 unsigned int in_uiBufferSize
613 double& out_dblMinDuration,
614 double& out_dblMaxDuration
628 virtual bool Load( AK::IXmlTextReader* in_pReader ) {
return false; }
629 virtual bool Save( AK::IXmlTextWriter* in_pWriter ) {
return false; }
638 virtual bool WindowProc(
eDialog in_eDialog, HWND in_hWnd, UINT in_message, WPARAM in_wParam, LPARAM in_lParam, LRESULT & out_lResult ){
return false; }
639 virtual bool DisplayNameForProp( LPCWSTR in_pszPropertyName, LPWSTR out_pszDisplayName, UINT in_unCharCount )
const {
return false; }
640 virtual bool DisplayNamesForPropValues( LPCWSTR in_pszPropertyName, LPWSTR out_pszValuesName, UINT in_unCharCount )
const {
return false; }
641 virtual bool Help( HWND in_hWnd,
eDialog in_eDialog, LPCWSTR in_szLanguageCode )
const {
return false; }
645 virtual bool GetSourceDuration(
double& out_dblMinDuration,
double& out_dblMaxDuration )
const { out_dblMinDuration = 0.f; out_dblMaxDuration = FLT_MAX;
return false; }
656 AKASSERT(!
"g_pAKPluginList is NULL. Did you use the AK_STATIC_LINK_PLUGIN macro in your DLL?");
660 HMODULE hLib = ::LoadLibrary(L
"WwiseSoundEngine.dll");
673 #define AK_MAX_OUTPUTDEVICEDESCRIPTOR 256
686 #ifndef WM_AK_PRIVATE_SHOW_HELP_TOPIC
687 #define WM_AK_PRIVATE_SHOW_HELP_TOPIC 0x4981
690 #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
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)
uint64_t AkUInt64
Unsigned 64-bit integer
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)
uint32_t AkUInt32
Unsigned 32-bit integer
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를 시작해 보세요