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
Public method SpeechSynthesisConnector Creates a new instance of the SpeechSynthesisConnector class.

Top

Properties

  Name Description
Public property AudioFormat Gets or sets the desired AudioFormat.
Public property AudioVideoFlow Gets the attached AudioVideoFlow.
Public property CanRead Gets whether the current stream supports reading. This property always returns false. (Overrides Stream.CanRead.)
Public property CanSeek Gets whether the current stream supports seeking. This property always returns false. (Overrides Stream.CanSeek.)
Public property CanTimeout Gets whether the current stream can time out. This property always returns false. (Overrides Stream.CanTimeout.)
Public property CanWrite Gets whether the current stream supports writing. This property always returns true. (Overrides Stream.CanWrite.)
Public property ExpectedAudioFormat Obsolete. Gets the format in which SpeechSynthesisConnector expects audio data to be written to the stream.
Public property IsActive Gets whether the SpeechSynthesisConnector is currently started.
Public property Length Not supported. Gets the length of the stream in bytes. (Overrides Stream.Length.)
Public property Position Gets or sets the position within the current stream. Setting this property is not supported. (Overrides Stream.Position.)
Public property ReadTimeout Not supported. Gets or sets how long the stream will attempt to read before timing out. (Overrides Stream.ReadTimeout.)
Public property Stream Gets the stream corresponding to this connector, for use as a parameter to SpeechSynthesizer.SetOutputToAudioStream().
Public property WriteTimeout Not supported. Gets or sets how long the stream will attempt to write before timing out. (Overrides Stream.WriteTimeout.)

Top

Methods

  Name Description
Public method AttachFlow Specifies which AudioVideoFlow will provide audio data for speech recognition. Only one AudioVideoFlow may be bound at a time.
Public method BeginRead Not supported. (Overrides Stream.BeginRead([], Int32, Int32, AsyncCallback, Object).)
Public method BeginWrite Not supported. (Overrides Stream.BeginWrite([], Int32, Int32, AsyncCallback, Object).)
Public method Close (inherited from Stream)
Public method CreateObjRef (inherited from MarshalByRefObject)
Protected method CreateWaitHandle Obsolete. (inherited from Stream)
Public method DetachFlow Detaches the current AudioVideoFlow, freeing the connector to use another.
Public method Dispose() (inherited from Stream)
Protected method Dispose(Boolean) Dispose (Overrides Stream.Dispose(Boolean).)
Public method EndRead Not supported. (Overrides Stream.EndRead(IAsyncResult).)
Public method EndWrite Not supported. (Overrides Stream.EndWrite(IAsyncResult).)
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method Flush Clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Overrides Stream.Flush().)
Public method GetHashCode (inherited from Object)
Public method GetLifetimeService (inherited from MarshalByRefObject)
Public method GetType (inherited from Object)
Public method InitializeLifetimeService (inherited from MarshalByRefObject)
Protected method MemberwiseClone() (inherited from Object)
Protected method MemberwiseClone(Boolean) (inherited from MarshalByRefObject)
Public method 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).)
Public method ReadByte Not supported. (Overrides Stream.ReadByte().)
Public method Seek Not supported. Sets the position within the current stream. (Overrides Stream.Seek(Int64, SeekOrigin).)
Public method SetLength Not supported. Sets the length of the current stream. (Overrides Stream.SetLength(Int64).)
Public method Start Prepares the connector to accept input from the SpeechSynthesizer and transmit it to the AudioVideoFlow.
Public method Stop Stops sending data to the AudioVideoFlow.
Public method ToString (inherited from Object)
Public method 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).)
Public method WriteByte Not supported. (Overrides Stream.WriteByte(Byte).)

Top

See Also

Reference

SpeechSynthesisConnector Class

Microsoft.Rtc.Collaboration.AudioVideo Namespace