Cloud Speech-to-Text V2 API - Module Google::Cloud::Speech::V2::ExplicitDecodingConfig::AudioEncoding (v0.11.0)

Reference documentation and code samples for the Cloud Speech-to-Text V2 API module Google::Cloud::Speech::V2::ExplicitDecodingConfig::AudioEncoding.

Supported audio data encodings.

Constants

AUDIO_ENCODING_UNSPECIFIED

value: 0
Default value. This value is unused.

LINEAR16

value: 1
Headerless 16-bit signed little-endian PCM samples.

MULAW

value: 2
Headerless 8-bit companded mulaw samples.

ALAW

value: 3
Headerless 8-bit companded alaw samples.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.