Table des matières

virtual bool AK::SoundFrame::ISoundFrame::SetPlayBackMode ( bool  in_bPlayback  )  const [pure virtual]

Set the playback mode to True when many calls to AK::SoundFrame::ISoundFrame::PlayEvents() are made.
This way, Wwise will stay in playback mode as long as you don't set the playback mode to False.
Setting the playback mode to False will stop all playback in Wwise.

This function is thread-safe.

Tip.gif
Tip:
  • Use this method to avoid flickering of the Wwise controls.
  • SetPlayBackMode( false ) can be used without a corresponding call to SetPlayBackMode( true ) to stop all currently-playing events.
Returns:
True if the operation was successful, False otherwise
Parameters:
in_bPlayback  Playback mode (True or False)