High-level bindings for libopusenc.
```rust
let audiodata: Vec
let mut encoder = Encoder::createfile( "/tmp/noise.opus", Comments::create() .add(RecommendedTag::Title, "Random Noise")? .add(RecommendedTag::Artist, "/dev/urandom")?, 48000, 2, MappingFamily::MonoStereo, )?;
encoder.write(&audio_data)?; encoder.drain()?;
```
This crate provides a encoder-options
feature which enables reading and changing encoder options.
Warning: Some of these options might not work with opusenc, may be unsafe or even cause UB. They are intended to be used via C macros that don't work with Rust. Make sure to check if the methods you use match their intended behaviour.
This project is licensed under the BSD-3-Clause License.
See LICENSE for more information.