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