audioChannelCount property

  1. @TagNumber(3)
int get audioChannelCount

Number of channels present in the audio data sent for recognition. Supported for the following encodings:

  • LINEAR16: Headerless 16-bit signed little-endian PCM samples.

  • MULAW: Headerless 8-bit companded mulaw samples.

  • ALAW: Headerless 8-bit companded alaw samples.

The maximum allowed value is 8.

Implementation

@$pb.TagNumber(3)
$core.int get audioChannelCount => $_getIZ(2);
  1. @TagNumber(3)
set audioChannelCount (int v)

Implementation

@$pb.TagNumber(3)
set audioChannelCount($core.int v) {
  $_setSignedInt32(2, v);
}