Open paulomarcos opened 4 years ago
With this change calls to the player that passes multiple arguments such as trim and vol will be accepted and interpreted by the player.
trim
vol
audio = playSound.play( filePath, { play: ['trim', TRIM_SECONDS, 'vol', VOLUME_LEVEL] }, (err: any) => { if (err) { return; } });
Thanks, @paulomarcos! Can you rebase this with master and make sure the tests are passing?
With this change calls to the player that passes multiple arguments such as
trim
andvol
will be accepted and interpreted by the player.audio = playSound.play( filePath, { play: ['trim', TRIM_SECONDS, 'vol', VOLUME_LEVEL] }, (err: any) => { if (err) { return; } });