From f0758de5069c2958a8efcb2f6e3b0781b77d6ecb Mon Sep 17 00:00:00 2001 From: Florrie Date: Tue, 8 Aug 2017 11:41:20 -0400 Subject: Fix SoX player --- src/loop-play.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/loop-play.js') diff --git a/src/loop-play.js b/src/loop-play.js index 1e1a75d..7fec995 100644 --- a/src/loop-play.js +++ b/src/loop-play.js @@ -145,10 +145,7 @@ class SoXPlayer extends Player { // You don't get keyboard controls such as seeking or volume adjusting // with SoX, though. - this.process = spawn('play', [ - ...this.playOpts, - file - ]) + this.process = spawn('play', [file]) return promisifyProcess(this.process) } -- cgit 1.3.0-6-gf8a5