starting to make music work for osx.
This commit is contained in:
@@ -222,7 +222,10 @@
|
||||
(music! snd :stop))
|
||||
|
||||
(defn make-music [r]
|
||||
(doto (music r) (music! :set-looping true)))
|
||||
(try
|
||||
(doto (music r) (music! :set-looping true))
|
||||
(catch Exception _
|
||||
(doto (music (str/replace r #"\.ogg" ".mp3")) (music! :set-looping true)))))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user