Share via


AEC_VAD_MODE Enumeration

banner art

Specifies the type of voice activity detection (VAD) for the voice capture DSP. This enumeration is used with the MFPKEY_WMAAECMA_FEATR_VAD property.

Syntax

typedef enum AEC_VAD_MODE {
    AEC_VAD_DISABLED = 0,
    AEC_VAD_NORMAL,
    AEC_VAD_FOR_AGC,
    AEC_VAD_FOR_SILENCE_SUPPRESSION
} AEC_VAD_MODE;

Members

AEC_VAD_DISABLED

Voice activity detection is disabled.

AEC_VAD_NORMAL

General purpose VAD. This setting attempts to balance the false detection rate and the missed detection rate. The output can have the following values.

Value Description
0 Non-speech.
1 Voiced speech.
2 Unvoiced speech.
3 Mixture of voiced and unvoiced speech.

AEC_VAD_FOR_AGC

Voice activity detection for automatic gain control and noise suppression. In this mode, the VAD threshold is higher than the normal mode, to reduce the false detection rate. The output distinguishes voiced speech from other sounds (non-speech or unvoiced speech). The output can have the following values.

Value Description
0 Non-speech or unvoiced speech.
1 Voiced speech.

AEC_VAD_FOR_SILENCE_SUPPRESSION

Voice activity detection for silence suppression. In this mode, the output distinguishes speech (voiced or unvoiced) from non-speech. The output can have the following values.

Value Description
0 Non-speech.
1 Voiced or unvoiced speech.

Requirements

Client: Requires Windows Vista or Windows XP.

Header: Include wmcodecdsp.h.

See Also