Fix my very silly mistake (#382)

This commit is contained in:
Programmix
2016-05-28 09:47:14 -07:00
committed by abalabahaha
parent 2194632b7d
commit b9506d01ab
2 changed files with 6 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ var AudioEncoder = (function () {
stream.pipe(enc.stdin);
hookEncodingProcess(resolve, reject, enc, stream);
_this.hookEncodingProcess(resolve, reject, enc, stream);
});
};
@@ -103,7 +103,7 @@ var AudioEncoder = (function () {
var enc = _child_process2["default"].spawn(_this2.getCommand(), ['-i', file, '-f', 's16le', '-ar', '48000', '-ss', options.seek || 0, '-ac', 2, 'pipe:1']);
hookEncodingProcess(resolve, reject, enc);
_this2.hookEncodingProcess(resolve, reject, enc);
});
};
@@ -117,7 +117,7 @@ var AudioEncoder = (function () {
var options = ffmpegOptions.concat(['-f', 's16le', '-ar', '48000', '-ac', 2, 'pipe:1']);
var enc = _child_process2["default"].spawn(_this3.getCommand(), options);
hookEncodingProcess(resolve, reject, enc);
_this3.hookEncodingProcess(resolve, reject, enc);
});
};