public sealed class OutputAudioConfig : IMessage<OutputAudioConfig>, IEquatable<OutputAudioConfig>, IDeepCloneable<OutputAudioConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class OutputAudioConfig.
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).
public SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; }
Optional. Configuration of how speech should be synthesized.
If not specified,
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
is applied.
[[["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."],[[["The latest version available for the `OutputAudioConfig` class is 2.23.0, and the documentation page covers versions from 1.0.0 up to the newest release."],["`OutputAudioConfig` is a class within the `Google.Cloud.Dialogflow.Cx.V3` namespace that instructs the speech synthesizer on how to generate the output audio content, implementing several interfaces, including `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The `OutputAudioConfig` class has three main properties: `AudioEncoding`, which is required and determines the audio encoding; `SampleRateHertz`, which is optional and specifies the synthesis sample rate; and `SynthesizeSpeechConfig`, which is also optional and configures speech synthesis settings."],["There are two constructors available for the `OutputAudioConfig` class: a default constructor and one that takes another `OutputAudioConfig` object as a parameter to copy its properties."],["The `OutputAudioConfig` class inherits from the generic Object class, allowing it to use inherited members such as `GetHashCode`, `GetType`, and `ToString`."]]],[]]