Wwise SDK
Version
menu
|
Wwise SDK 2024.1.10
|
AkMusicEngine.h
Go to the documentation of this file.
63 /// \warning This function must be called after the base sound engine has been properly initialized.
64 /// There should be no AK API call between AK::SoundEngine::Init() and this call. Any call done in between is potentially unsafe.
87 /// Query information on the active segment of a music object that is playing. Use the playing ID
88 /// that was returned from AK::SoundEngine::PostEvent(), provided that the event contained a play
89 /// action that was targeting a music object. For any configuration of interactive music hierarchy,
91 /// To be able to query segment information, you must pass the AK_EnableGetMusicPlayPosition flag
92 /// to the AK::SoundEngine::PostEvent() method. This informs the sound engine that the source associated
93 /// with this event should be given special consideration because GetPlayingSegmentInfo() can be called
96 /// - If the music object is a single segment, you will get negative values for AkSegmentInfo::iCurrentPosition
99 /// - The active segment during the pre-entry of the first segment of a Playlist Container or a Music Switch
100 /// Container is "nothing", as well as during the post-exit of the last segment of a Playlist (and beyond).
102 /// - If in_bExtrapolate is true (default), AkSegmentInfo::iCurrentPosition is corrected by the amount of time elapsed
103 /// since the beginning of the audio frame. It is thus possible that it slightly overshoots the total segment length.
AKSOUNDENGINE_API AKRESULT GetPlayingSegmentInfo(AkPlayingID in_PlayingID, AkSegmentInfo &out_segmentInfo, bool in_bExtrapolate=true)
Definition: AkMusicEngine.h:45
AKSOUNDENGINE_API void GetDefaultInitSettings(AkMusicSettings &out_settings)
AkReal32 fStreamingLookAheadRatio
Multiplication factor for all streaming look-ahead heuristic values.
Definition: AkMusicEngine.h:46
AKSOUNDENGINE_API AKRESULT Init(AkMusicSettings *in_pSettings)
AKSOUNDENGINE_API void Term()
AkUInt32 AkPlayingID
A unique identifier generated whenever a PostEvent is called (or when a Dynamic Sequence is created)....
Definition: AkTypes.h:55
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'AideDé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