Wave Arts VQE  1.00
Voice Quality Enhancement
Public Attributes
Avg Struct Reference

Averager runtime structure. More...

#include <dre.h>

List of all members.

Public Attributes

float * buf
 circular buffer of values
float sum
 current sum of values
int count
 count of values, 0...len-1
int index
 circular index into buf
int length
 length of buf

Detailed Description

Averager runtime structure.

The averager keeps a circular buffer of recent values along with a sum of values in the buffer. When a new value is added the oldest value is discarded and subtracted from the sum. Hence it is an efficient way to keep a running average over a fixed time window.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines