app :: PlayableAudio :: play
# Play the sound
fun play do end
lib/app/audio.nit:46,2--47,16
redef fun play
do
var native = native
if native != null then native.play_and_repare_async
end
lib/ios/audio.nit:53,2--57,4
redef fun play
do
var native = native
if native == null and error == null then
# Lazy load
load
# Auto print errors on lazy loading only
var error = error
if error != null then print_error error
end
# If there's an error, silently skip
if error != null then return
native = self.native
assert native != null
# Play looping
mix.play_music(native, -1)
end
lib/linux/audio.nit:106,2--126,4