Commit graph

67 commits

Author SHA1 Message Date
meew0
e8cc571d6a Make the multiplier return the current volume
without doing any math to it, so we can have different ways to set the multiplier in logarithmic ways.
2016-04-02 11:03:28 +02:00
Nicholas Tay
77346e3415 Send guild_id on voice destroy for bot accounts to work
(thanks qeled for supplying this fix, as per in the node_discord-js discord chat channel :D)
2016-03-28 19:06:10 +11:00
Michael Petö
462adfbad3 Add ability to pause and resume audio thats being played 2016-03-19 21:54:25 +01:00
abalabahaha
204bdca555 Merge pull request #223 from aequasi/patch-1
Adding credit
2016-03-18 11:55:19 -07:00
Aaron Scherer
81549e737e Adding credit 2016-03-18 11:48:46 -07:00
qeled
4d6cca72f4 Implement voice encryption support 2016-03-18 06:32:35 +03:00
abalabahaha
27a0361afc Not everyone needs to set the volume 2016-03-15 22:09:16 -07:00
abalabahaha
930f276828 Aaron copied horrible code from elsewhere 2016-03-12 22:06:30 -08:00
abalabahaha
13055f67d2 Attempted to understand volume code and retry fixes 2016-03-12 21:53:34 -08:00
abalabahaha
5e64d96272 Attempted assorted fixes 2016-03-12 21:44:07 -08:00
abalabahaha
25f25f5506 Attempt to process volume option 2016-03-12 21:27:48 -08:00
abalabahaha
13e8a39f9f Minor inconsistencies 2016-03-12 21:21:59 -08:00
abalabahaha
ef679e87c4 Attempted better ffmpeg handling 2016-03-10 21:40:19 -08:00
abalabahaha
4e58de8cd6 Make FFMPEG error reject encoding 2016-03-06 13:04:23 -08:00
Aaron Scherer
0571958033 Fixing conflicts 2016-02-12 13:08:03 -08:00
Aaron Scherer
3c64cfce4a Adding volume wrapper 2016-02-10 09:53:05 -08:00
Aaron Scherer
8607a2449c Allow seeking for FFmpeg 2016-02-09 09:38:48 -08:00
meew0
358c40c355 Set the volume default to 1 as @hydrabolt intended, fixes #154 2016-01-30 10:42:13 +01:00
Jacob
dba7a1d06a fixed volume option and set default to 25% to avoid hearing loss 2016-01-20 22:26:26 -08:00
meew0
0921484ef6 Add opus sanity check 2015-12-27 17:25:04 +01:00
Amish Shah
0113202c2f Fixed voice_connection.stopPlaying
Now unpipes before destroying
2015-12-26 17:52:20 +00:00
meew0
d09c26c7c1 Add method to play back the output from an arbitrary ffmpeg cmd 2015-12-23 23:20:19 +01:00
Amish Shah
4d6adfd289 voice fixes 2015-12-23 21:10:49 +00:00
Amish Shah
90045db92d fixed mentions even though they will be changed in the future... why 2015-12-19 21:22:06 +00:00
Amish Shah
941fd2fe98 Minor changes 2015-12-17 18:31:52 +00:00
Amish Shah
c2cf1badfd Fixed multiple avconvs/ffmpeg processes still staying alive 2015-12-12 21:04:30 +00:00
Amish Shah
4d43867206 Fixed multiple ffmpeg/avconv processes being alive 2015-12-12 18:04:48 +00:00
Amish Shah
d66b765933 added volume control 2015-12-12 17:52:25 +00:00
abalabahaha
cd4a70cfb2 Fixed the fix and built 2015-12-11 21:37:59 -08:00
abalabahaha
e020287307 Applied change to second function 2015-12-11 20:00:32 -08:00
qeled
f280349f0c Fix sequence and timestamp in VoiceConnection 2015-12-11 19:48:32 +00:00
qeled
d8af1a49ae Disable ffmpeg logging and ignore stderr 2015-12-11 19:48:32 +00:00
Amish Shah
e072c58460 added interval fixes - bots die gracefully now 2015-12-06 19:02:10 +00:00
Amish Shah
e16211c4fb Added stereo support 2015-12-05 21:19:38 +00:00
Amish Shah
d122184b6b voice fixes 2015-12-05 20:57:23 +00:00
Simon Schick
687970a3ec Prevent error when trying to close stream by assuming all streams have end/destroy methods 2015-11-28 22:19:17 +01:00
Simon Schick
faa744b1e3 Use import/export since we are using babel, removed unused imports 2015-11-28 17:57:22 +01:00
Simon Schick
df7590c105 Potential fix for streams not terminating 2015-11-27 19:37:03 +01:00
Amish Shah
b22995f254 Built src again using the correct preset 2015-11-22 15:12:39 +00:00
hydrabolt
9ad55668a1 Removed pointless destroy console.log 2015-11-13 22:56:43 +00:00
abalabahaha
3e37c5d91f Removed trailing spaces, added unbanMember and kickMember 2015-11-11 18:36:24 -08:00
hydrabolt
bb716480b1 Fixed leaving voice channels 2015-11-09 18:34:03 +00:00
hydrabolt
a9173ec776 Fixed playingFiles 2015-11-08 21:32:44 +00:00
hydrabolt
82206e75b6 Stopped audio encoder outputting directly 2015-11-08 20:51:29 +00:00
hydrabolt
a36bc226fd Fixed something that may break later 2015-11-08 20:43:20 +00:00
hydrabolt
ad536445d9 Fixed ffmpeg/avconv confusions 2015-11-08 16:40:40 +00:00
hydrabolt
36e40d1b35 Fixed order 2015-11-08 16:31:33 +00:00
hydrabolt
71786148bc Added playStream and renamed some functions 2015-11-08 12:55:10 +00:00
hydrabolt
639fc99b86 Temporary fix 2015-11-08 12:41:39 +00:00
hydrabolt
30f02e77c4 playing stream 2015-11-08 12:34:59 +00:00