afxSampleBuffer
Engine/source/afx/afxConstraint.h
Protected Attributes
Protected Functions
Public Functions
configHistory(F32 hist_len, U8 sample_rate)
recordSample(F32 dt, U32 elapsed_ms, void * data)
Detailed Description
Protected Attributes
U32 mBuffer_ms
U32 mBuffer_sz
U32 mElapsed_ms
U32 mLast_sample_ms
U32 mMS_per_sample
U32 mNext_sample_num
U32 mNum_samples
Protected Functions
compute_idx_from_lag(F32 lag, U32 & idx)
compute_idx_from_lag(F32 lag, U32 & idx1, U32 & idx2, F32 & t)
recSample(U32 idx, void * data)
Reimplemented by: afxSampleXfmBuffer
Public Functions
afxSampleBuffer()
~afxSampleBuffer()
configHistory(F32 hist_len, U8 sample_rate)
Reimplemented by: afxSampleXfmBuffer
getSample(F32 lag, void * data, bool & oob)
Reimplemented by: afxSampleXfmBuffer
recordSample(F32 dt, U32 elapsed_ms, void * data)