Enum googapis::google::assistant::embedded::v1alpha2::audio_out_config::Encoding [−][src]
#[repr(i32)]
pub enum Encoding {
Unspecified,
Linear16,
Mp3,
OpusInOgg,
}
Expand description
Audio encoding of the data returned in the audio message. All encodings are raw audio bytes with no header, except as indicated below.
Variants
Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
Uncompressed 16-bit signed little-endian samples (Linear PCM).
MP3 audio encoding. The sample rate is encoded in the payload.
Opus-encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android and in some browsers (such as Chrome). The quality of the encoding is considerably higher than MP3 while using the same bitrate. The sample rate is encoded in the payload.
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