From: Alexis Laferrière Date: Mon, 24 Aug 2015 17:45:26 +0000 (-0400) Subject: contrib/mnit_test: improve documentation of `test_audio` X-Git-Tag: v0.7.8~68^2~5 X-Git-Url: http://nitlanguage.org contrib/mnit_test: improve documentation of `test_audio` Signed-off-by: Alexis Laferrière --- diff --git a/contrib/mnit_test/src/test_audio.nit b/contrib/mnit_test/src/test_audio.nit index 2a3a77b..9ef5d92 100644 --- a/contrib/mnit_test/src/test_audio.nit +++ b/contrib/mnit_test/src/test_audio.nit @@ -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