Version

menu_open

◆ SubmitMarkerNotifications()

virtual AKRESULT AK::IAkPluginServiceMarkers::IAkMarkerNotificationService::SubmitMarkerNotifications ( const AkAudioMarker in_pMarkers,
const AkUInt32 in_uOffsetsInBuffer,
AkUInt32  in_uNumMarkers 
)
pure virtual

Submit markers to trigger notifications for registered callback functions. Register callbacks through. Registering a callback can be achieved through the PostEvent function on AK::SoundEngine.

Returns
  • AK_NotInitialized if no callback functions have been registered.
  • AK_InvalidParameter if in_pMarkers is null.
  • AK_InvalidParameter if in_uOffsetsInBuffer is null.
  • AK_InvalidParameter if in_uNumMarkers is 0.
  • AK_InvalidParameter if any valus in in_uOffsetsInBuffer is greater or equal to the length of the buffer.
  • AK_Success otherwise.
See also
Parameters
in_pMarkersArray of AkAudioMarker objects
in_uOffsetsInBufferArray of buffer offsets for each marker contained in in_pMarkers. Must provide a value for each marker in in_pMarkers.
in_uNumMarkersThe number of marker objects in in_pMarkers

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