summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/audio.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chickadee/audio.scm b/chickadee/audio.scm
index b340f06..7b5b0f3 100644
--- a/chickadee/audio.scm
+++ b/chickadee/audio.scm
@@ -308,7 +308,9 @@
(define (update-audio)
"Update audio system."
- (update-sound-system (current-sound-system)))
+ (let ((sound-system (current-sound-system)))
+ (when sound-system
+ (update-sound-system sound-system))))
(define* (make-source #:key
audio