Share via


PromptBuilder.AppendAudio Method (Uri, String)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Appends the specified audio file and alternate text to a PromptBuilder.

Namespace: Microsoft.SpeechServer.Synthesis
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
Public Sub AppendAudio ( _
    audioFile As Uri, _
    alternateText As String _
)
public void AppendAudio (
    Uri audioFile,
    string alternateText
)

Parameters

  • audioFile
    The path of the audio file.
  • alternateText
    The alternate text.

Remarks

The supported audio encodings are enumerated in the Codec enumeration.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

PromptBuilder Class
PromptBuilder Members
Microsoft.SpeechServer.Synthesis Namespace