summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-11-06 13:14:26 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-11-06 13:14:26 +0100
commit3088a94c83037cecf87baf49c4e699ced8c26aa3 (patch)
tree9c31e72194cad519d4624f9a4c57d900ec81fd97 /scenes
parentb539b040447ab6493cfa02477378dd3c2b7ea3e4 (diff)
Use birds.ogg.
This also avoids a crash.
Diffstat (limited to 'scenes')
-rw-r--r--scenes/game.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scenes/game.scm b/scenes/game.scm
index 3e95fe5..a9235aa 100644
--- a/scenes/game.scm
+++ b/scenes/game.scm
@@ -48,7 +48,7 @@
(define-asset game-font
(load-bitmap-font "assets/fonts/good_neighbors_starling.xml"))
(define-asset music
- (load-audio "assets/sounds/birds.mp3" #:mode 'stream))
+ (load-audio "assets/sounds/birds.ogg" #:mode 'stream))
(define location
(let ((positions
@@ -259,6 +259,4 @@ map's positions layer."
#:quit
(lambda ()
(and *background-music*
- ;; XXX This crashes so we just turn down the volume.
- ;;(source-stop *background-music*)
- (set-source-volume! *background-music* 0)))))
+ (source-stop *background-music*)))))