Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
SPSERIALIZEDEVENT64
SPSERIALIZEDEVENT64 serializes a Speech Platform event.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef struct SPSERIALIZEDEVENT64</strong> <strong>{</strong> <strong>WORD</strong> <em>eEventId</em>; <strong>WORD</strong> <em>elParamType</em>; <strong>ULONG</strong> <em>ulStreamNum</em>; <strong>ULONGLONG</strong> <em>ullAudioStreamOffset</em>; <strong>ULONGLONG</strong> <em>SerializedwParam</em>; <strong>LONGLONG</strong> <em>SerializedlParam</em>; <strong>} SPSERIALIZEDEVENT64</strong>; </pre>
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 (that is, output streams), the stream number is incremented each time a new speak call (for example, ISpVoice::SpeakStream, ISpVoice::Speak) is made.
For speech recognition (that is, input streams), the stream is incremented each time an audio stream is opened. Note that a single audio input object can be opened multiple times (for example buffer overflow, device error, or 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. The variable uses a 64-bit data type for large addresses and values. See SPEVENTENUM for further information on possible wParam values. - SerializedlParam
The lParam value that was included in the event. The variable uses a 64-bit data type for large addresses and values. See SPEVENTENUM for further information on possible lParam values.
Remarks
The 64 label signifies the use of 64-bit values for the wParam and lParam variables. Normally applications will not need to use 64-bit values, unless large pointers or sizes were stored in the original event structure. See also SPSERIALIZEDEVENT for the non-64-bit version.
See also SPEVENT for further information on the related event variable fields.