src/jarvis_proto/audio.proto¶
-
enum AudioEncoding
AudioEncoding specifies the encoding of the audio bytes in the encapsulating message.
-
enumerator
ENCODING_UNSPECIFIED
= 0¶ Not specified.
-
enumerator
LINEAR_PCM
= 1¶ Uncompressed 16-bit signed little-endian samples (Linear PCM).
-
enumerator
FLAC
= 2¶ FLAC (Free Lossless Audio Codec) is the recommended encoding because it is lossless–therefore recognition is not compromised–and requires only about half the bandwidth of LINEAR16. FLAC stream encoding supports 16-bit and 24-bit samples, however, not all fields in STREAMINFO are supported.
-
enumerator
MULAW
= 3¶ 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
-
enumerator
ALAW
= 20¶ 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law.
-
enumerator