Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.4.8496 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2023.1.4

◆ StopMIDIOnEventSync()

virtual AKRESULT AK::IAkGlobalPluginContext::StopMIDIOnEventSync ( AkUniqueID  in_eventID = AK_INVALID_UNIQUE_ID,
AkGameObjectID  in_gameObjectID = AK_INVALID_GAME_OBJECT,
AkPlayingID  in_playingID = AK_INVALID_PLAYING_ID 
)
pure virtual

Stops MIDI notes on all nodes that are referenced in the specified event in an action of type play, with the specified Game Object. Invalid parameters are interpreted as wildcards. For example, calling this function with in_eventID set to AK_INVALID_UNIQUE_ID will stop all MIDI notes for Game Object in_gameObjectID.

Remarks
This function stops the MIDI notes 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).
See also
Parameters
in_eventIDUnique ID of the Event
in_gameObjectIDAssociated game object ID
in_playingIDTarget playing ID

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise