Version

menu_open

include/AK/SoundEngine/Common/AkCallback.h File Reference

Go to the source code of this file.

Classes

struct   AkCallbackInfo
struct   AkEventCallbackInfo
struct   AkMidiEventCallbackInfo
struct   AkMarkerCallbackInfo
struct   AkDurationCallbackInfo
struct   AkDynamicSequenceItemCallbackInfo
struct   AkSpeakerVolumeMatrixCallbackInfo
struct   AkMusicPlaylistCallbackInfo
struct   AkMusicSyncCallbackInfo

Namespaces

namespace   AK
 

Audiokinetic namespace.


Typedefs

typedef void(*  AkCallbackFunc )(AkCallbackType in_eType, AkCallbackInfo *in_pCallbackInfo)
typedef void(*  AkBusCallbackFunc )(AkSpeakerVolumeMatrixCallbackInfo *in_pCallbackInfo)
typedef void(*  AkBusMeteringCallbackFunc )(AK::IAkMetering *in_pMetering, AkChannelConfig in_channelConfig, AkMeteringFlags in_eMeteringFlags)
typedef void(*  AkBankCallbackFunc )(AkUInt32 in_bankID, const void *in_pInMemoryBankPtr, AKRESULT in_eLoadResult, AkMemPoolId in_memPoolId, void *in_pCookie)
typedef void(*  AkGlobalCallbackFunc )(bool in_bLastCall)

Enumerations

enum   AkCallbackType {
  AK_EndOfEvent = 0x0001, AK_EndOfDynamicSequenceItem = 0x0002, AK_Marker = 0x0004, AK_Duration = 0x0008,
  AK_SpeakerVolumeMatrix = 0x0010, AK_Starvation = 0x0020, AK_MusicPlaylistSelect = 0x0040, AK_MusicPlayStarted = 0x0080,
  AK_MusicSyncBeat = 0x0100, AK_MusicSyncBar = 0x0200, AK_MusicSyncEntry = 0x0400, AK_MusicSyncExit = 0x0800,
  AK_MusicSyncGrid = 0x1000, AK_MusicSyncUserCue = 0x2000, AK_MusicSyncPoint = 0x4000, AK_MusicSyncAll = 0x7f00,
  AK_MidiEvent = 0x10000, AK_CallbackBits = 0xfffff, AK_EnableGetSourcePlayPosition = 0x100000, AK_EnableGetMusicPlayPosition = 0x200000,
  AK_EnableGetSourceStreamBuffering = 0x400000
}
 

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

More...

Detailed Description

Declaration of callback prototypes

Definition in file AkCallback.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise