CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


The Microsoft.com Speech website Microsoft Speech SDK

SAPI 5.1

SPSERIALIZEDEVENT

SPSERIALIZEDEVENT serializes a SAPI event.

See SPSERIALIZEDEVENT64 for a 64-bit version of the serialized event structure.

See also SPEVENT for further information on the related event variable fields.

typedef struct SPSERIALIZEDEVENT
{
    WORD        eEventId;
    WORD        elParamType;
    ULONG       ulStreamNum;
    ULONGLONG   ullAudioStreamOffset;
    ULONG       SerializedwParam;
    LONG        SerializedlParam;
} SPSERIALIZEDEVENT;

Members

eEventId
The event ID of type SPEVENTENUM
elParamType
The signature of the lParam parameter of type SPEVENTLPARAMTYPE.
ulStreamNum
The stream number associated with the event.
For text-to-speech (i.e., output streams), the stream number is incremented each time a new speak call (e.g., ISpVoice::SpeakStream, ISpVoice::Speak) is made.
For speech recognition (i.e., input streams), the stream is incremented each time an audio stream is opened (i.e., ISpSREngine::RecognizeStream). Note that a single audio input object can be opened multiple times (e.g., buffer overflow, device error, recognition state change).
ullAudioStreamOffset
The byte offset into the audio stream associated with the event at which the event was fired. For synthesis, the output stream is the synthesized data. For recognition, this indicates the position in the input audio stream.
SerializedwParam
The wParam value that was included in the event. See SPEVENTENUM for further information on possible wParam values.
SerializedlParam
The lParam value that was included in the event. See SPEVENTENUM for further information on possible lParam values.


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web