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

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.