aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-09 17:16:00 -0700
committerZeyla Hellyer <[email protected]>2018-07-09 17:16:00 -0700
commit1f3a57eb6c0a1419614927d52bd3e798db36b043 (patch)
tree4766a6556ef5c5ce3e929833b24401f2d55d1020 /src
parentDeprecate Message::guild_id() (diff)
downloadserenity-1f3a57eb6c0a1419614927d52bd3e798db36b043.tar.xz
serenity-1f3a57eb6c0a1419614927d52bd3e798db36b043.zip
Fix ffmpeg_optioned doctest
Diffstat (limited to 'src')
-rw-r--r--src/voice/streamer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/voice/streamer.rs b/src/voice/streamer.rs
index c904716..893f92a 100644
--- a/src/voice/streamer.rs
+++ b/src/voice/streamer.rs
@@ -134,6 +134,8 @@ fn _ffmpeg(path: &OsStr) -> Result<Box<AudioSource>> {
/// ```rust,no_run
/// use serenity::voice;
///
+/// let stereo_val = "2";
+///
/// let streamer = voice::ffmpeg_optioned("./some_file.mp3", &[
/// "-f",
/// "s16le",