Cloud Speech V2 Client - Class AudioEncoding (1.18.3)

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

Namespace

Google \ Cloud \ Speech \ V2 \ ExplicitDecodingConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
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;