Other Documentation

Wwise SDK 2022.1.9
AkFXDurationHandler Class Reference

#include <AkFXDurationHandler.h>

Public Member Functions

void  Setup (AkReal32 in_fDuration, AkInt16 in_iLoopingCount, AkUInt32 in_uSampleRate)
  Setup duration handler. More...
void  Reset ()
  Reset looping and frame counters and start again. More...
void  SetLooping (AkInt16 in_iNumLoops)
  Change number of loop iterations (0 == infinite). More...
void  SetDuration (AkReal32 in_fDuration)
  Set current duration per iteration (in secs). More...
AkReal32  GetDuration () const
  Return current total duration (considering looping) in secs. More...
void  ProduceBuffer (AkAudioBuffer *io_pBuffer)
AKRESULT  ProduceBuffer (AkUInt16 in_uMaxFrames, AkUInt16 &out_uValidFrames)

Protected Attributes

AkUInt32  m_uIterationFrame
AkUInt32  m_uFrameCount
AkUInt32  m_uSampleRate
AkInt16  m_iNumLoops

Detailed Description

Duration handler service for source plug-in. Duration may change between different execution

Definition at line 34 of file AkFXDurationHandler.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