ISilenceSuppressor::GetRunningAverageTime

[This is preliminary documentation and subject to change.]

To adapt to background noise, the filter uses a running average energy for sample buffers to determine which buffers are silent. This method retrieves the time interval currently being used to calculate the running average energy.

HRESULT GetRunningAverageTime(
  LPDWORD lpdwRunningAverageTime
);
 

Parameters

lpdwRunningAverageTime
[out] Length of time interval to use in running average calculation.

Return Values

E_POINTER
The pointer was not valid.
NOERROR
Success.