pub const SAMPLE_RATE: u32 = 48_000;Expand description
The sample rate sipx encodes at.
Opus accepts 8, 12, 16, 24 and 48 kHz. 48 kHz is what it is designed around and what every other rate is resampled to internally, so encoding at anything else asks Opus to do the resampling and then loses the quality that was the reason for choosing Opus.