Enum audio::AudioFormat
zaun_bot::audio::AudioFormat · Enum
pub enum AudioFormat { … }How the bot’s audio is encoded.
Variants
Section titled “Variants”Opus packets (2.5-120 ms each, at most 1000 bytes), sent as they are.
Pcm(PcmFormat)
Section titled “Pcm(PcmFormat)”Signed 16-bit PCM, encoded to Opus by the host: UNSUPPORTED on hosts without an
Opus encoder.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug