contrib/mnit_test: improve documentation of `test_audio`
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 24 Aug 2015 17:45:26 +0000 (13:45 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 27 Aug 2015 01:20:54 +0000 (21:20 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/mnit_test/src/test_audio.nit

index 2a3a77b..9ef5d92 100644 (file)
@@ -23,17 +23,23 @@ import android::audio
 redef class App
        # Sound
        var soundsp: Sound
+
        # Music
        var soundmp: Music
+
        # Sound
        var easy_soundsp = new Sound("testsound")
+
        # Music
        var easy_soundmp = new Music("xylofon")
-       # testing from assets ?
+
+       # Read sounds from the assets folder?
        var test_assets = false
-       # testinf from resources ?
+
+       # Read sounds from the resources folder?
        var test_ressources = true
-       # testing the automatic way ?
+
+       # Test the automatic way with `PlayableAudio::load`?
        var test_easy_sounds = false
 
        redef fun on_create