public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Instructs the speech synthesizer how to generate the output audio content.
Optional. The synthesis sample rate (in hertz) for this audio. If not
provided, then the synthesizer will use the default sample rate based on
the audio encoding. If this is different from the voice's natural sample
rate, then the synthesizer will honor this request by converting to the
desired sample rate (which might result in worse audio quality).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, detailing its purpose in instructing a speech synthesizer to generate output audio content.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage contains documentation on the \u003ccode\u003eOutputAudioConfig\u003c/code\u003e class in version 1.13.0, along with a list of numerous historical versions ranging from 1.0.0 up to the latest version 2.23.0, each linking to specific version details.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eOutputAudioConfig\u003c/code\u003e has two constructors and three properties, \u003ccode\u003eAudioEncoding\u003c/code\u003e, \u003ccode\u003eSampleRateHertz\u003c/code\u003e and \u003ccode\u003eSynthesizeSpeechConfig\u003c/code\u003e, which are used to define the characteristics of the output audio and how speech is synthesized.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioEncoding\u003c/code\u003e property is required and specifies the encoding of the output audio, while \u003ccode\u003eSampleRateHertz\u003c/code\u003e and \u003ccode\u003eSynthesizeSpeechConfig\u003c/code\u003e are optional properties that allow for the configuration of the audio's sample rate and speech synthesis, respectively.\u003c/p\u003e\n"]]],[],null,[]]