SpeechSynthesizer.SetOutputToAudioStream(Stream, SpeechAudioFormatInfo) SpeechSynthesizer.SetOutputToAudioStream(Stream, SpeechAudioFormatInfo) SpeechSynthesizer.SetOutputToAudioStream(Stream, SpeechAudioFormatInfo) SpeechSynthesizer.SetOutputToAudioStream(Stream, SpeechAudioFormatInfo) Method

정의

오디오 스트림에 출력을 추가하도록 SpeechSynthesizer 개체를 구성합니다.Configures the SpeechSynthesizer object to append output to an audio stream.

public:
 void SetOutputToAudioStream(System::IO::Stream ^ audioDestination, System::Speech::AudioFormat::SpeechAudioFormatInfo ^ formatInfo);
public void SetOutputToAudioStream (System.IO.Stream audioDestination, System.Speech.AudioFormat.SpeechAudioFormatInfo formatInfo);
member this.SetOutputToAudioStream : System.IO.Stream * System.Speech.AudioFormat.SpeechAudioFormatInfo -> unit
Public Sub SetOutputToAudioStream (audioDestination As Stream, formatInfo As SpeechAudioFormatInfo)

매개 변수

audioDestination
Stream Stream Stream Stream

합성 출력을 추가할 스트림입니다.The stream to which to append synthesis output.

formatInfo
SpeechAudioFormatInfo SpeechAudioFormatInfo SpeechAudioFormatInfo SpeechAudioFormatInfo

합성 출력에 사용할 서식입니다.The format to use for the synthesis output.

설명

호출 SetOutputToNull 릴리스는 SpeechSynthesizer의 스트림에 대 한 참조입니다.Call SetOutputToNull to release the SpeechSynthesizer's reference to the stream.

다른 출력 구성 옵션에 대해서는 SetOutputToDefaultAudioDevice, SetOutputToNull, SetOutputToWaveFile, 및 SetOutputToWaveStream 메서드.For other output configuration options, see the SetOutputToDefaultAudioDevice, SetOutputToNull, SetOutputToWaveFile, and SetOutputToWaveStream methods.

적용 대상