This commit is contained in:
abalabahaha
2016-04-13 00:05:08 -07:00
parent b7f20956d7
commit afa5fa1758
4 changed files with 46 additions and 20 deletions

View File

@@ -63,7 +63,6 @@ export default class AudioEncoder {
this.volume = new VolumeTransformer(options.volume);
var enc = cpoc.spawn(this.getCommand(), [
'-hide_banner',
'-i', '-',
'-f', 's16le',
'-ar', '48000',
@@ -110,7 +109,6 @@ export default class AudioEncoder {
this.volume = new VolumeTransformer(options.volume);
var enc = cpoc.spawn(this.getCommand(), [
'-hide_banner',
'-i', file,
'-f', 's16le',
'-ar', '48000',
@@ -155,7 +153,6 @@ export default class AudioEncoder {
// add options discord.js needs
var options = ffmpegOptions.concat([
'-hide_banner',
'-f', 's16le',
'-ar', '48000',
'-ac', 2,