浏览该文件的文档.
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
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅