diff options
| author | acdenisSK <[email protected]> | 2017-07-27 06:42:48 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 07:30:23 +0200 |
| commit | 550030264952f0e0043b63f4582bb817ef8bbf37 (patch) | |
| tree | b921e2f78fd603a5ca671623083a32806fd16090 /src/voice/audio.rs | |
| parent | Use a consistent indentation style (diff) | |
| download | serenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip | |
rustfmt
Diffstat (limited to 'src/voice/audio.rs')
| -rw-r--r-- | src/voice/audio.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/voice/audio.rs b/src/voice/audio.rs index ea8c87a..14b9ccd 100644 --- a/src/voice/audio.rs +++ b/src/voice/audio.rs @@ -12,5 +12,10 @@ pub trait AudioSource: Send { pub trait AudioReceiver: Send { fn speaking_update(&mut self, ssrc: u32, user_id: u64, speaking: bool); - fn voice_packet(&mut self, ssrc: u32, sequence: u16, timestamp: u32, stereo: bool, data: &[i16]); + fn voice_packet(&mut self, + ssrc: u32, + sequence: u16, + timestamp: u32, + stereo: bool, + data: &[i16]); } |