audioChannelCount property

  1. @TagNumber(7)
int audioChannelCount

The number of channels in the input audio data. ONLY set this for MULTI-CHANNEL recognition. Valid values for LINEAR16, OGG_OPUS and FLAC are 1-8. Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only 1. If 0 or omitted, defaults to one channel (mono). Note: We only recognize the first channel by default. To perform independent recognition on each channel set enable_separate_recognition_per_channel to 'true'.

Implementation

@$pb.TagNumber(7)
$core.int get audioChannelCount => $_getIZ(6);
  1. @TagNumber(7)
void audioChannelCount=(int v)

Implementation

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