|
◆ PostMIDIOnEventSync()
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.
- 参照
-
- 引数
-
in_eventID | Unique ID of the Event |
in_gameObjectID | Associated game object ID |
in_pPosts | MIDI Events to post |
in_uNumPosts | Number of MIDI Events to post |
in_bAbsoluteOffsets | Whether AkMIDIPost::uOffset values are relative to current frame or absolute |
in_uFlags | Bitmask: see AkCallbackType |
in_pfnCallback | Callback function |
in_pCookie | Callback cookie that will be sent to the callback function along with additional information |
in_playingID | Target playing ID |
|