diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-11-27 19:46:23 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-11-27 19:46:55 -0500 |
commit | 1036cf1a2b4a9550ca253da5f70ad745c5a9e111 (patch) | |
tree | e6e172db6483020c97a5174df956c9d6b2708aa0 | |
parent | 67b76b93b5f9d1ba3816da0703ea225c14ef3f8d (diff) |
audio: Fix bug where #:audio argument is ignored in make-source.
-rw-r--r-- | chickadee/audio.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chickadee/audio.scm b/chickadee/audio.scm index e7bce70..93feb09 100644 --- a/chickadee/audio.scm +++ b/chickadee/audio.scm @@ -360,6 +360,8 @@ position as relative to the listener or as an absolute value." (set-source-velocity! source velocity) (set-source-direction! source direction) (set-source-relative! source relative?) + (when audio + (set-source-audio! source audio)) source)) (define (streaming-source? source) |