Version

menu_open
Wwise SDK 2019.1.11
AkFXDurationHandler Class Reference

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 35 of file AkFXDurationHandler.h.


The documentation for this class was generated from the following file:

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