バージョン

menu_open
警告:あなたのメジャーリリース ( 2022.1.13.8454 ) に該当する最新ドキュメンテーションが表示されています。特定バージョンのドキュメンテーションにアクセスするには、Audiokinetic Launcherでオフラインドキュメンテーションをダウンロードし、Wwise AuthoringのOffline Documentationオプションにチェックを入れてください。
Wwise SDK 2022.1.13

◆ PostMIDIOnEventSync()

virtual AkPlayingID AK::IAkGlobalPluginContext::PostMIDIOnEventSync ( AkUniqueID  in_eventID,
AkGameObjectID  in_gameObjectID,
AkMIDIPost in_pPosts,
AkUInt16  in_uNumPosts,
bool  in_bAbsoluteOffsets = false,
AkUInt32  in_uFlags = 0,
AkCallbackFunc  in_pfnCallback = NULL,
void *  in_pCookie = NULL,
AkPlayingID  in_playingID = AK_INVALID_PLAYING_ID 
)
pure virtual

Executes a number of MIDI Events on all nodes that are referenced in the specified Event in an Action of type Play. Each MIDI event will be posted in AkMIDIPost::uOffset samples from the start of the current frame. The duration of a sample can be determined from the sound engine's audio settings, via a call to AK::IAkGlobalPluginContext::GetAudioSettings.

注釈
This function executes the MIDI Events without going through the message queue. In order to do so it acquires the global Wwise sound engine lock. It should therefore only be called from one of the global engine hooks (see AK::IAkGlobalPluginContext::RegisterGlobalCallback). Use AK::IAkGlobalPluginContext::GetIDFromString() if you use event names (strings).
参照
引数
in_eventIDUnique ID of the Event
in_gameObjectIDAssociated game object ID
in_pPostsMIDI Events to post
in_uNumPostsNumber of MIDI Events to post
in_bAbsoluteOffsetsWhether AkMIDIPost::uOffset values are relative to current frame or absolute
in_uFlagsBitmask: see AkCallbackType
in_pfnCallbackCallback function
in_pCookieCallback cookie that will be sent to the callback function along with additional information
in_playingIDTarget playing ID

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう