浏览该文件的文档.
27 #ifndef _AKFXDURATIONHANDLER_H_
28 #define _AKFXDURATIONHANDLER_H_
89 out_uValidFrames = in_uMaxFrames;
99 if ( uFramesRemaining <= in_uMaxFrames )
101 out_uValidFrames = (
AkUInt16)uFramesRemaining;
107 out_uValidFrames = 0;
125 #endif // _AKFXDURATIONHANDLER_H_
uint16_t AkUInt16
Unsigned 16-bit integer
@ AK_DataReady
The provider has available data.
AKRESULT
Standard function call result.
@ AK_NoMoreData
No more data is available from the source.
float AkReal32
32-bit floating point
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).
int16_t AkInt16
Signed 16-bit integer
uint32_t AkUInt32
Unsigned 32-bit integer
AkUInt32 m_uIterationFrame
AkReal32 GetDuration() const
Return current total duration (considering looping) in secs.
void ProduceBuffer(AkAudioBuffer *io_pBuffer)
AkForceInline AkUInt16 MaxFrames() const
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅