Fixed playingFiles

This commit is contained in:
hydrabolt
2015-11-08 21:32:44 +00:00
parent 4081bf8d2d
commit a9173ec776
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class AudioEncoder{
encodeFile(file, callback=function(err, buffer){}){
var self = this;
return new Promise((resolve, reject) => {
var enc = cpoc.spawn(self.getChoice() , [
var enc = cpoc.spawn(self.getCommand() , [
"-f", "s16le",
"-ar", "48000",
"-ac", "1", // this can be 2 but there's no point, discord makes it mono on playback, wasted bandwidth.