From 9fd8186588368834e6cd1cb6ffa905f3845ad721 Mon Sep 17 00:00:00 2001 From: rekado Date: Wed, 16 Jan 2013 19:38:38 +0800 Subject: remove EVENT* defines --- src/mdaPiano.cpp | 1 - src/mdaPiano.h | 4 ---- 2 files changed, 5 deletions(-) (limited to 'src') diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index 1c4ceb1..9c5a999 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -35,7 +35,6 @@ mdaPiano::mdaPiano(double rate) add_voices(voices[i]); } - notes[0] = EVENTS_DONE; sustain = 0; update(); diff --git a/src/mdaPiano.h b/src/mdaPiano.h index 44e15e1..e808a09 100644 --- a/src/mdaPiano.h +++ b/src/mdaPiano.h @@ -32,10 +32,6 @@ private: float param[NPARAMS]; float Fs, iFs; - #define EVENTBUFFER 120 - #define EVENTS_DONE 99999999 - uint32_t notes[EVENTBUFFER + 8]; //list of delta|note|velocity for current block - ///global internal variables KGRP kgrp[16]; mdaPianoVoice *voices[NVOICES]; -- cgit v1.2.3