arrow_right Table des matières

Autre Documentation

Wwise SDK 2018.1.11

◆ PostMIDIOnEvent()

AKRESULT __cdecl AK::SoundEngine::PostMIDIOnEvent ( AkUniqueID  in_eventID,
AkGameObjectID  in_gameObjectID,
AkMIDIPost in_pPosts,
AkUInt16  in_uNumPosts 

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::SoundEngine::GetAudioSettings.

See also
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