diff options
| author | Zeyla Hellyer <[email protected]> | 2018-08-11 21:00:32 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-08-11 21:01:59 -0700 |
| commit | 0bbe5f5dde6989a8d6a4d4910bf026b1b801fef9 (patch) | |
| tree | f04a62a63ae55d02dec90849cf19283c292b749d /src/voice/audio.rs | |
| parent | Add Colour::hex (diff) | |
| download | serenity-0bbe5f5dde6989a8d6a4d4910bf026b1b801fef9.tar.xz serenity-0bbe5f5dde6989a8d6a4d4910bf026b1b801fef9.zip | |
Revert "Send silence frames upon connection (Fix #301)"
This reverts commit 83a0c85b0bf87cb4272b5d6e189d139fc31a6d23.
This makes voice sending work again.
Diffstat (limited to 'src/voice/audio.rs')
| -rw-r--r-- | src/voice/audio.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/voice/audio.rs b/src/voice/audio.rs index 2e15590..c556c8b 100644 --- a/src/voice/audio.rs +++ b/src/voice/audio.rs @@ -6,7 +6,6 @@ use std::{ pub const HEADER_LEN: usize = 12; pub const SAMPLE_RATE: u32 = 48_000; -pub static SILENT_FRAME: [u8; 3] = [0xf8, 0xff, 0xfe]; /// A readable audio source. pub trait AudioSource: Send { |