diff options
author | Florrie <towerofnix@gmail.com> | 2017-08-08 11:41:20 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2017-08-08 11:41:20 -0400 |
commit | f0758de5069c2958a8efcb2f6e3b0781b77d6ecb (patch) | |
tree | 976f42bfd18cab908f6a119c1485fb3b997b7f7d /src | |
parent | 588482d3dad9a3ff023b6a152c490e375eb6746a (diff) |
Fix SoX player
Diffstat (limited to 'src')
-rw-r--r-- | src/loop-play.js | 5 |
1 files changed, 1 insertions, 4 deletions
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) } |