版本

menu_open
Wwise SDK 2023.1.9

◆ AkCallbackType

Type of callback. Used as a bitfield in methods AK::SoundEngine::PostEvent() and AK::SoundEngine::DynamicSequence::Open().

枚举值
AK_EndOfEvent 

Callback triggered when reaching the end of an event. AkCallbackInfo can be cast to AkEventCallbackInfo.

AK_EndOfDynamicSequenceItem 

Callback triggered when reaching the end of a dynamic sequence item. AkCallbackInfo can be cast to AkDynamicSequenceItemCallbackInfo.

AK_Marker 

Callback triggered when encountering a marker during playback. AkCallbackInfo can be cast to AkMarkerCallbackInfo.

AK_Duration 

Callback triggered when the duration of the sound is known by the sound engine. AkCallbackInfo can be cast to AkDurationCallbackInfo.

AK_SpeakerVolumeMatrix 

Callback triggered at each frame, letting the client modify the speaker volume matrix. AkCallbackInfo can be cast to AkSpeakerVolumeMatrixCallbackInfo.

AK_Starvation 

Callback triggered when playback skips a frame due to stream starvation. AkCallbackInfo can be cast to AkEventCallbackInfo.

AK_MusicPlaylistSelect 

Callback triggered when music playlist container must select the next item to play. AkCallbackInfo can be cast to AkMusicPlaylistCallbackInfo.

AK_MusicPlayStarted 

Callback triggered when a "Play" or "Seek" command has been executed ("Seek" commands are issued from AK::SoundEngine::SeekOnEvent()). Applies to objects of the Interactive-Music Hierarchy only. AkCallbackInfo can be cast to AkEventCallbackInfo.

AK_MusicSyncBeat 

Enable notifications on Music Beat. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncBar 

Enable notifications on Music Bar. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncEntry 

Enable notifications on Music Entry Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncExit 

Enable notifications on Music Exit Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncGrid 

Enable notifications on Music Grid. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncUserCue 

Enable notifications on Music Custom Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncPoint 

Enable notifications on Music switch transition synchronization point. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.

AK_MusicSyncAll 

Use this flag if you want to receive all notifications concerning AK_MusicSync registration.

AK_MIDIEvent 

Enable notifications for MIDI events. AkCallbackInfo can be cast to AkMIDIEventCallbackInfo.

AK_CallbackBits 

Bitmask for all callback types.

AK_EnableGetSourcePlayPosition 

Enable play position information for use by AK::SoundEngine::GetSourcePlayPosition().

AK_EnableGetMusicPlayPosition 

Enable play position information of music objects, queried via AK::MusicEngine::GetPlayingSegmentInfo().

AK_EnableGetSourceStreamBuffering 

Enable stream buffering information for use by AK::SoundEngine::GetSourceStreamBuffering().

在文件 AkCallback.h47 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅