[詳解]
39 const char * in_pszZoneName
46 const char* in_pszMarkerName
79 #if !defined(AK_OPTIMIZED)
81 #define AK_INSTRUMENT_BEGIN(_plugin_id_, _zone_name_) (AK::Instrument::g_fnPushTimer(_plugin_id_, _zone_name_))
82 #define AK_INSTRUMENT_END(__token__) (AK::Instrument::g_fnPopTimer(__token__))
83 #define AK_INSTRUMENT_MARKER(_plugin_id_, _marker_name_) (AK::Instrument::g_fnPostMarker(_plugin_id_, _marker_name_))
84 #define AK_INSTRUMENT_MARKER_PROFILINGID(_profilingid_) (AK::Instrument::g_fnPostMarker(AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ ), nullptr))
85 #define AK_INSTRUMENT_METAMARKER(_plugin_id_, _metadata_) (AK::Instrument::g_fnPostMetaMarker(_plugin_id_, _metadata_))
87 #define AK_INSTRUMENT_CONCAT_INNER(_base_, _counter_) _base_ ## _counter_
88 #define AK_INSTRUMENT_CONCAT(_base_, _counter_) AK_INSTRUMENT_CONCAT_INNER(_base_, _counter_)
90 #define AK_INSTRUMENT_SCOPE(_zone_name_) \
91 AK::Instrument::Scope AK_INSTRUMENT_CONCAT(_akInstrumentScope_, __LINE__)(0, _zone_name_)
93 #define AK_INSTRUMENT_SCOPE_ID(_plugin_id_, _zone_name_) \
94 AK::Instrument::Scope AK_INSTRUMENT_CONCAT(_akInstrumentScope_, __LINE__)(_plugin_id_, _zone_name_)
96 #define AK_INSTRUMENT_SCOPE_PROFILINGID(_profilingid_) \
97 AK::Instrument::Scope AK_INSTRUMENT_CONCAT(_akInstrumentScope_, __LINE__)(AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ ), nullptr)
99 #define AK_INSTRUMENT_THREAD_START( _thread_name_ )
101 #else // AK_OPTIMIZED
103 #define AK_INSTRUMENT_BEGIN(_plugin_id_, _zone_name_) (void*)( 0 )
104 #define AK_INSTRUMENT_END(__token__)
105 #define AK_INSTRUMENT_MARKER(_plugin_id_, _zone_name_)
106 #define AK_INSTRUMENT_MARKER_PROFILINGID(_profilingid_)
107 #define AK_INSTRUMENT_METAMARKER(_plugin_id_, _metadata_)
108 #define AK_INSTRUMENT_SCOPE( _zone_name_ )
109 #define AK_INSTRUMENT_SCOPE_ID(_plugin_id_, _zone_name_)
110 #define AK_INSTRUMENT_SCOPE_PROFILINGID(_plugin_id_)
112 #define AK_INSTRUMENT_THREAD_START( _thread_name_ )
114 #endif // AK_OPTIMIZED
116 #ifndef AK_INSTRUMENT_BEGIN_C
117 #define AK_INSTRUMENT_BEGIN_C(_plugin_id_, _color_, _zone_name_) AK_INSTRUMENT_BEGIN(_plugin_id_, _zone_name_)
PostMarkerFunc g_fnPostMarker
#define AKSOUNDENGINE_API
AkUInt32 AkPluginID
Source or effect plug-in ID
void(* PostMarkerFunc)(AkPluginID in_uPluginID, const char *in_pszMarkerName)
#define AK_CALLBACK(_type, _name)
PopTimerFunc g_fnPopTimer
PushTimerFunc g_fnPushTimer
void *(* PushTimerFunc)(AkPluginID in_uPluginID, const char *in_pszZoneName)
void(* PostMetaMarkerFunc)(AkPluginID in_uPluginID, AkUInt32 in_uMetadata)
uint32_t AkUInt32
Unsigned 32-bit integer
void(* PopTimerFunc)(void *in_pToken)
Scope(AkPluginID in_uPluginID, const char *in_pszZoneName)
PostMetaMarkerFunc g_fnPostMetaMarker
あなたのプロジェクトについて教えてください。ご不明な点はありませんか。
プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。
Wwiseからはじめよう