SpeechSynthesisConnector Members

SpeechSynthesis connector can be attached to an AVFlow, 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 C'tor.

Top

Properties

  Name Description
Public property AudioFormat
Public property AudioVideoFlow AudioVideoFlow attached.
Public property CanRead Gets a value indicating whether the current stream supports reading. (Overrides Stream..::..CanRead.)
Public property CanSeek Gets a value indicating whether the current stream supports seeking. (Overrides Stream..::..CanSeek.)
Public property CanTimeout Gets a value that determines whether the current stream can time out. (Overrides Stream..::..CanTimeout.)
Public property CanWrite Gets a value indicating whether the current stream supports writing. (Overrides Stream..::..CanWrite.)
Public property ExpectedAudioFormat Obsolete. Get the format in which SpeechSynthesisConnector expects audio data to be written to the stream.
Public property IsActive Gets whether or not the SSC is currently started.
Public property Length Gets the length in bytes of the stream. (Overrides Stream..::..Length.)
Public property Position Gets or sets the position within the current stream. (Overrides Stream..::..Position.)
Public property ReadTimeout Gets or sets a value that determines how long the stream will attempt to read before timing out. (Overrides Stream..::..ReadTimeout.)
Public property Stream Get the stream corresponding to this connector, for use as a parameter to SpeechSynthesiser.
Public property WriteTimeout Gets or sets a value that determines 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.
Public method BeginRead (Overrides Stream..::..BeginRead(array<Byte>[]()[][], Int32, Int32, AsyncCallback, Object).)
Public method BeginWrite (Overrides Stream..::..BeginWrite(array<Byte>[]()[][], 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 Detach 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 (Overrides Stream..::..EndRead(IAsyncResult).)
Public method EndWrite (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 Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes. (Overrides Stream..::..Read(array<Byte>[]()[][], Int32, Int32).)
Public method ReadByte (Overrides Stream..::..ReadByte()()()().)
Public method Seek Sets the position within the current stream. (Overrides Stream..::..Seek(Int64, SeekOrigin).)
Public method SetLength Sets the length of the current stream. (Overrides Stream..::..SetLength(Int64).)
Public method Start Prepare the connector to accept input from the Synthesizer and transmit it to the AudioVideoFlow.
Public method Stop Stop sending data to the AVFlow.
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. (Overrides Stream..::..Write(array<Byte>[]()[][], Int32, Int32).)
Public method WriteByte (Overrides Stream..::..WriteByte(Byte).)

Top

See Also

Reference

SpeechSynthesisConnector Class

Microsoft.Rtc.Collaboration.AudioVideo Namespace