public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Instructs the speech synthesizer on how to generate the output audio content.
If this audio config is supplied in a request, it overrides all existing
text-to-speech settings applied to the agent.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides documentation for the `OutputAudioConfig` class within the `Google.Cloud.Dialogflow.V2` namespace, detailing its role in configuring synthesized audio output."],["The `OutputAudioConfig` class is part of the Google Cloud Dialogflow V2 library, used for instructing the speech synthesizer on how to generate audio content, with version 4.26.0 as the latest and many earlier versions all the way to 3.2.0 being available."],["The class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has constructors for creating new instances and copies."],["The `OutputAudioConfig` class contains properties for defining `AudioEncoding`, `SampleRateHertz`, and `SynthesizeSpeechConfig`, which control the audio encoding, sample rate, and speech synthesis configuration, respectively."],["The page also includes all the inherited members from the Object class, as well as the Assembly, Google.Cloud.Dialogflow.V2.dll, and the namespace Google.Cloud.Dialogflow.V2."]]],[]]