Skip to content

Struct audio::PcmFormat

zaun_bot::audio::PcmFormat · Struct

pub struct PcmFormat { … }

PCM the host encodes to Opus.

8000, 12000, 16000, 24000 or 48000 Hz (Opus’s own rates; nothing is resampled).

1 (mono) or 2 (stereo, interleaved left-right).

Clone, Copy, Debug

Full rustdoc page