From b2fa29cd0b433c3426ae164583373cc1a61009c7 Mon Sep 17 00:00:00 2001
From: Marlon Schumacher <schumacher@hfm-karlsruhe.de>
Date: Sat, 01 Mar 2025 02:00:03 +0100
Subject: [PATCH] fix: removed limitation that positions arg must be provided as a list of lists for single sound inputs

---
 sources/sox-process.lisp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sources/sox-process.lisp b/sources/sox-process.lisp
index 5bad952..f713078 100644
--- a/sources/sox-process.lisp
+++ b/sources/sox-process.lisp
@@ -188,6 +188,7 @@
 
     (if (probe-file *sox-path*)
         (progn
+          (unless (listp (sound sox-input)) (setf (positions sox-input) (list (positions sox-input)))) ; quick hack to prevent having to provide position arg as list of lists
           (when 
               (not 
                (or 

--
Gitblit v1.9.1