SpeechSynthesisConnector Members
Include Protected Members
Include Inherited Members
SpeechSynthesisConnector can be attached to an AudioVideoFlow, and provides a Stream interface to feed audio data to the flow.
The SpeechSynthesisConnector type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SpeechSynthesisConnector | Creates a new instance of the SpeechSynthesisConnector class. |
Top
Properties
Name | Description | |
---|---|---|
AudioFormat | Gets or sets the desired AudioFormat. | |
AudioVideoFlow | Gets the attached AudioVideoFlow. | |
CanRead | Gets whether the current stream supports reading. This property always returns false. (Overrides Stream.CanRead.) | |
CanSeek | Gets whether the current stream supports seeking. This property always returns false. (Overrides Stream.CanSeek.) | |
CanTimeout | Gets whether the current stream can time out. This property always returns false. (Overrides Stream.CanTimeout.) | |
CanWrite | Gets whether the current stream supports writing. This property always returns true. (Overrides Stream.CanWrite.) | |
ExpectedAudioFormat | Obsolete. Gets the format in which SpeechSynthesisConnector expects audio data to be written to the stream. | |
IsActive | Gets whether the SpeechSynthesisConnector is currently started. | |
Length | Not supported. Gets the length of the stream in bytes. (Overrides Stream.Length.) | |
Position | Gets or sets the position within the current stream. Setting this property is not supported. (Overrides Stream.Position.) | |
ReadTimeout | Not supported. Gets or sets how long the stream will attempt to read before timing out. (Overrides Stream.ReadTimeout.) | |
Stream | Gets the stream corresponding to this connector, for use as a parameter to SpeechSynthesizer.SetOutputToAudioStream(). | |
WriteTimeout | Not supported. Gets or sets how long the stream will attempt to write before timing out. (Overrides Stream.WriteTimeout.) |
Top
Methods
Name | Description | |
---|---|---|
AttachFlow | Specifies which AudioVideoFlow will provide audio data for speech recognition. Only one AudioVideoFlow may be bound at a time. | |
BeginRead | Not supported. (Overrides Stream.BeginRead([], Int32, Int32, AsyncCallback, Object).) | |
BeginWrite | Not supported. (Overrides Stream.BeginWrite([], Int32, Int32, AsyncCallback, Object).) | |
Close | (inherited from Stream) | |
CreateObjRef | (inherited from MarshalByRefObject) | |
CreateWaitHandle | Obsolete. (inherited from Stream) | |
DetachFlow | Detaches the current AudioVideoFlow, freeing the connector to use another. | |
Dispose() | (inherited from Stream) | |
Dispose(Boolean) | Dispose (Overrides Stream.Dispose(Boolean).) | |
EndRead | Not supported. (Overrides Stream.EndRead(IAsyncResult).) | |
EndWrite | Not supported. (Overrides Stream.EndWrite(IAsyncResult).) | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
Flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Overrides Stream.Flush().) | |
GetHashCode | (inherited from Object) | |
GetLifetimeService | (inherited from MarshalByRefObject) | |
GetType | (inherited from Object) | |
InitializeLifetimeService | (inherited from MarshalByRefObject) | |
MemberwiseClone() | (inherited from Object) | |
MemberwiseClone(Boolean) | (inherited from MarshalByRefObject) | |
Read | Not supported. Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes. (Overrides Stream.Read([], Int32, Int32).) | |
ReadByte | Not supported. (Overrides Stream.ReadByte().) | |
Seek | Not supported. Sets the position within the current stream. (Overrides Stream.Seek(Int64, SeekOrigin).) | |
SetLength | Not supported. Sets the length of the current stream. (Overrides Stream.SetLength(Int64).) | |
Start | Prepares the connector to accept input from the SpeechSynthesizer and transmit it to the AudioVideoFlow. | |
Stop | Stops sending data to the AudioVideoFlow. | |
ToString | (inherited from Object) | |
Write | Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. Blocks until the data has been (almost) sent on the wire. (Overrides Stream.Write([], Int32, Int32).) | |
WriteByte | Not supported. (Overrides Stream.WriteByte(Byte).) |
Top