#Trouble playing Lavalink audio in Rust
6 messages · Page 1 of 1 (latest)
for the first error: use SampleRate::Hz48000 instead of the integer literal 48000
https://docs.rs/audiopus/latest/audiopus/enum.SampleRate.html
Represents possible sample rates Opus can use. Values represent Hertz.
For the second error: use &mut output[..] instead of &mut output
For the third error, follow the compiler's suggestion
okay