encoding property

  1. @TagNumber.new(3)
AudioEncoding get encoding

Byte layout of audio_data. ONLY AUDIO_ENCODING_PCM_F32_LE and AUDIO_ENCODING_PCM_S16_LE are accepted; commons normalizes either to float samples before dispatching to an engine. AUDIO_ENCODING_CONTAINER and AUDIO_ENCODING_UNSPECIFIED are rejected with RAC_ERROR_AUDIO_FORMAT_NOT_SUPPORTED — strip container headers first.

Implementation

@$pb.TagNumber(3)
$1.AudioEncoding get encoding => $_getN(2);
  1. @TagNumber.new(3)
set encoding (AudioEncoding value)

Implementation

@$pb.TagNumber(3)
set encoding($1.AudioEncoding value) => $_setField(3, value);