Enum googapis::google::assistant::embedded::v1alpha1::audio_in_config::Encoding [−][src]
#[repr(i32)]
pub enum Encoding {
Unspecified,
Linear16,
Flac,
}
Expand description
Audio encoding of the data sent in the audio message. Audio must be one-channel (mono). The only language supported is “en-US”.
Variants
Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
Uncompressed 16-bit signed little-endian samples (Linear PCM). This encoding includes no header, only the raw audio bytes.
[FLAC
](https://xiph.org/flac/documentation.html) (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
. This encoding
includes the FLAC
stream header followed by audio data. It supports
16-bit and 24-bit samples, however, not all fields in STREAMINFO
are
supported.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more