Go to the documentation of this file.
28 #ifndef _AKFXDURATIONHANDLER_H_
29 #define _AKFXDURATIONHANDLER_H_
90 out_uValidFrames = in_uMaxFrames;
100 if ( uFramesRemaining <= in_uMaxFrames )
102 out_uValidFrames = (
AkUInt16)uFramesRemaining;
108 out_uValidFrames = 0;
126 #endif // _AKFXDURATIONHANDLER_H_
@ AK_DataReady
The provider has available data.
AKRESULT
Standard function call result.
@ AK_NoMoreData
No more data is available from the source.
AKRESULT eState
Execution status.
void Reset()
Reset looping and frame counters and start again.
AkUInt16 uValidFrames
Number of valid sample frames in the audio buffer.
void SetDuration(AkReal32 in_fDuration)
Set current duration per iteration (in secs).
void Setup(AkReal32 in_fDuration, AkInt16 in_iLoopingCount, AkUInt32 in_uSampleRate)
Setup duration handler.
AKRESULT ProduceBuffer(AkUInt16 in_uMaxFrames, AkUInt16 &out_uValidFrames)
void SetLooping(AkInt16 in_iNumLoops)
Change number of loop iterations (0 == infinite).
AkUInt32 m_uIterationFrame
AkReal32 GetDuration() const
Return current total duration (considering looping) in secs.
void ProduceBuffer(AkAudioBuffer *io_pBuffer)
AkForceInline AkUInt16 MaxFrames() const
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'Aide
Décrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise