Cloud Speech V2 Client - Class AudioEncoding (1.12.0)

Reference documentation and code samples for the Cloud Speech V2 Client class AudioEncoding.

Supported audio data encodings.

Protobuf type google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncoding

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

AUDIO_ENCODING_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum AUDIO_ENCODING_UNSPECIFIED = 0;

LINEAR16

Value: 1

Headerless 16-bit signed little-endian PCM samples.

Generated from protobuf enum LINEAR16 = 1;

MULAW

Value: 2

Headerless 8-bit companded mulaw samples.

Generated from protobuf enum MULAW = 2;

ALAW

Value: 3

Headerless 8-bit companded alaw samples.

Generated from protobuf enum ALAW = 3;