From 9c5bb70304cddc1297de8907b4317eafea34b8c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Mon, 24 Aug 2015 13:45:26 -0400 Subject: [PATCH] contrib/mnit_test: improve documentation of `test_audio` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/mnit_test/src/test_audio.nit | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 1.7.9.5