From 73f17f0ebe71ebcb38de349a3e3d30a9dd3bf5ba Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Fri, 8 Oct 2021 15:21:10 +0900 Subject: [PATCH] .. --- @sampler/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@sampler/src/main.cpp b/@sampler/src/main.cpp index 62e8937..3e5a3d3 100644 --- a/@sampler/src/main.cpp +++ b/@sampler/src/main.cpp @@ -116,7 +116,7 @@ void sample_player_stop() { // + and this way of checking is not nice (AudioNoInterrupts + test + AudioInterrupts) // what if sound files list could be generated @ setup time and later just react on that list? // i think that way is much more stable than stopping interrupts. (-> breaks audio engine sometimes.) - if (note != 0) { + if (sample_now != 0) { //filename buffer - 8.3 naming convension! 8+1+3+1 = 13 char filename[13] = "NNN.WAV"; //search for the sound file