No SAPI recognition from audio device plugged into line in

Last reviewed: 9/17/2008

PRB Article ID: P090804

The information in this article applies to:

  • SpeechKit 5

Symptoms

Setting the CNPLineID property for SAPI recognition from an audio device plugged into line in doesn't generate any recognition events.

Cause

The SAPI audio object is in the wrong state to set the device id. The application needs to set the CNPLineID value to the line index not the line identifier even though the SAPI refers to it that way. Use the ChantAudioMixerLine Source property value. SAPI supports valid lines index values 0 through n.

Status

Fixed in SpeechKit 5 build 5.0.17.8 (Win32 and WinCE).

Component Formats Impacted

All component formats.