diff options
| author | Kyle Simpson <[email protected]> | 2018-02-27 18:49:03 +0000 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-05-27 18:14:15 -0700 |
| commit | 4b7a27af3f4e123f807ff4f5c8b9d61d3d976454 (patch) | |
| tree | dc5fd9213bf60823bd2666dbfdd70cabd1c597f3 /src/lib.rs | |
| parent | Add `lacking_ownership` to `CreateHelpCommand` (diff) | |
| download | serenity-4b7a27af3f4e123f807ff4f5c8b9d61d3d976454.tar.xz serenity-4b7a27af3f4e123f807ff4f5c8b9d61d3d976454.zip | |
Voice fixes, better API adherence, bitrate control, documentation
* Fixing silence frame.
* Messed that one up while fighting with the borrow checker. Sorry!
* Initial machinery for playback position tracking
* Mix multiple input AudioType::Opus streams
* Encode for stereo, use nicer "soft clip"
* First stab at docs for Audio.
* Better-er docs for voice::Audio etc.
* Bitrate control.
* Fix #270, Better handling of the voice api
We were mostly doing the voice API wrong, I've changed OpCode names to
be correct. We now listenfor both Ready and Hello at connection init,
and do soft checks for Heartbeat ACKs.
* Adding missing voice opcodes, related structs
* Also removes events for messages which cannot be received.
* @Zeyla's recommended changes.
* New docstrings now have correct style for referring to functions.
* Docstrings also have room to breathe (!)
* Rand dependency now properly moved behind the `voice` feature.
* Slightly cleaner checks at voice connection initialisation.
* Various idiomatic changes throughout.
* Prevent compilation of Audio docs example.
Likely too much machinery in the background to get a working Handler, I
think.
* Re-fixing the docstrings.
* Fixing travis for Audio docs.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -131,6 +131,8 @@ extern crate multipart; extern crate native_tls; #[cfg(feature = "opus")] extern crate opus; +#[cfg(feature = "rand")] +extern crate rand; #[cfg(feature = "sodiumoxide")] extern crate sodiumoxide; #[cfg(feature = "threadpool")] |