From cb9ba11de6a3755ab537e3f6e6e81bd8bf455457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Thu, 4 Oct 2007 10:30:01 +0000 Subject: [PATCH] Remove wrapper for pressNote and make the function externally visible git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14978 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/beatbox/beatbox.c | 18 +++++++----------- apps/plugins/midi/sequencer.c | 11 +---------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/apps/plugins/beatbox/beatbox.c b/apps/plugins/beatbox/beatbox.c index 00ce42c64b..e24c8e7d0c 100644 --- a/apps/plugins/beatbox/beatbox.c +++ b/apps/plugins/beatbox/beatbox.c @@ -16,7 +16,12 @@ * ****************************************************************************/ -#include "../../plugin.h" +#include "plugin.h" +#include "midi/guspat.h" +#include "midi/midiutil.h" +#include "midi/synth.h" +#include "midi/sequencer.h" +#include "midi/midifile.h" PLUGIN_HEADER PLUGIN_IRAM_DECLARE @@ -114,15 +119,6 @@ struct MIDIfile * mf IBSS_ATTR; int numberOfSamples IBSS_ATTR; long bpm IBSS_ATTR; - -#include "plugin.h" -#include "midi/guspat.h" -#include "midi/midiutil.h" -#include "midi/synth.h" -#include "midi/sequencer.h" -#include "midi/midifile.h" - - const unsigned char * drumNames[]={ "Bass Drum 2 ", "Bass Drum 1 ", @@ -362,7 +358,7 @@ void sendEvents() for(i=0; i