android: update example in audio
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 18 Oct 2017 19:35:45 +0000 (15:35 -0400)
committerAlexis 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

index b0352db..6d4fe1a 100644 (file)
@@ -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
 # ~~~