IVDctAttributes::EnergyFloorSet

HRESULT EnergyFloorSet(WORD pwEnergy);

Sets the value of the current noise floor expected by a speech-recognition engine from the audio stream.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY
SRERR_NOTSUPPORTED
SRERR_VALUEOUTOFRANGE

pwEnergy

[in] Expended energy of the noise floor, in negative decibels. For example, a value of 30 indicates an energy floor of –30 dB. An application can specify SRATTR_MINENERGYFLOOR or SRATTR_MAXENERGYFLOOR for minimum or maximum allowable values.