mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Stopped audio encoder outputting directly
This commit is contained in:
@@ -49,7 +49,6 @@ var AudioEncoder = (function () {
|
||||
|
||||
var p = cpoc.spawnSync(choice);
|
||||
if (!p.error) {
|
||||
console.log("found " + choice);
|
||||
this.choice = choice;
|
||||
return choice;
|
||||
}
|
||||
|
||||
@@ -34,7 +34,6 @@ class AudioEncoder{
|
||||
for(var choice of choices){
|
||||
var p = cpoc.spawnSync(choice);
|
||||
if(!p.error){
|
||||
console.log("found " + choice);
|
||||
this.choice = choice;
|
||||
return choice;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user