public sealed class AutoDetectDecodingConfig : IMessage<AutoDetectDecodingConfig>, IEquatable<AutoDetectDecodingConfig>, IDeepCloneable<AutoDetectDecodingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class AutoDetectDecodingConfig.
Automatically detected decoding parameters.
Supported for the following encodings:
WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container.
WAV_MULAW: 8-bit companded mulaw samples in a WAV container.
WAV_ALAW: 8-bit companded alaw samples in a WAV container.
RFC4867_5_AMR: AMR frames with an rfc4867.5 header.
RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header.
FLAC: FLAC frames in the "native FLAC" container format.
MP3: MPEG audio frames with optional (ignored) ID3 metadata.
[[["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-17 UTC."],[[["The latest version of the `AutoDetectDecodingConfig` class is 1.4.0, part of the Google Cloud Speech-to-Text v2 API."],["This class automatically detects decoding parameters for various audio encodings used in speech recognition."],["Supported audio encodings include WAV_LINEAR16, WAV_MULAW, WAV_ALAW, RFC4867_5_AMR, RFC4867_5_AMRWB, FLAC, MP3, OGG_OPUS, WEBM_OPUS, MP4_AAC, M4A_AAC, and MOV_AAC."],["`AutoDetectDecodingConfig` implements interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage, allowing for deep cloning and equality comparisons."],["The class has two constructors: a default constructor and a copy constructor that takes another `AutoDetectDecodingConfig` instance as a parameter."]]],[]]