Version

menu_open

AkFXDurationHandler Class Reference

List of all members.

Public Member Functions

void  Setup (AkReal32 in_fDuration, AkInt16 in_iLoopingCount, AkUInt32 in_uSampleRate)
  Setup duration handler.
void  Reset ()
  Reset looping and frame counters and start again.
void  SetLooping (AkInt16 in_iNumLoops)
  Change number of loop iterations (0 == infinite).
void  SetDuration (AkReal32 in_fDuration)
  Set current duration per iteration (in secs).
AkReal32  GetDuration () const
  Return current total duration (considering looping) in secs.
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