nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1edf69
)
android: update example in audio
author
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 18 Oct 2017 19:35:45 +0000
(15:35 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 16 Dec 2017 17:11:54 +0000
(12:11 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/android/audio.nit
patch
|
blob
|
history
diff --git
a/lib/android/audio.nit
b/lib/android/audio.nit
index
b0352db
..
6d4fe1a
100644
(file)
--- a/
lib/android/audio.nit
+++ b/
lib/android/audio.nit
@@
-28,8
+28,8
@@
#
# ~~~nitish
# # Note that you need to specify the path from "assets" folder and the extension
-# var s = app.load_sound("sounds/test_sound.ogg")
-# var m = app.load_music("sounds/test_music.ogg")
+# var s = new Sound("sounds/test_sound.ogg")
+# var m = new Music("sounds/test_music.ogg")
# s.play
# m.play
# ~~~