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"]],[["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\u003eThe \u003ccode\u003eAutoDetectDecodingConfig\u003c/code\u003e class in the Google Cloud Speech-to-Text v2 API is used for automatically detecting audio decoding parameters.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports various audio encodings, including WAV_LINEAR16, WAV_MULAW, WAV_ALAW, RFC4867_5_AMR, RFC4867_5_AMRWB, FLAC, MP3, OGG_OPUS, WEBM_OPUS, and M4A.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoDetectDecodingConfig\u003c/code\u003e class implements interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, a default one and another one that takes another \u003ccode\u003eAutoDetectDecodingConfig\u003c/code\u003e object as a parameter to copy it.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation has code samples and reference information for version 1.1.0 of the \u003ccode\u003eAutoDetectDecodingConfig\u003c/code\u003e, however newer versions up to 1.4.0 are also available.\u003c/p\u003e\n"]]],[],null,[]]