From ed724fecb15d90d8075ed1edb963f455cb91b0a1 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 4 Aug 2019 16:58:20 -0400 Subject: Midiplay plugin ehancements - Improved robustness - Improved sound quality - Use mixer and DSP Patch by Igor Poretsky Change-Id: I6fa617158cbaa53ae842295cdbdbe3a478e49ded --- apps/plugins/midi/midiutil.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps/plugins/midi/midiutil.h') diff --git a/apps/plugins/midi/midiutil.h b/apps/plugins/midi/midiutil.h index cf3666c97f..72bff11b3f 100644 --- a/apps/plugins/midi/midiutil.h +++ b/apps/plugins/midi/midiutil.h @@ -25,14 +25,11 @@ #define BUF_SIZE 16384 /* 64 kB output buffers */ #define NBUF 2 +#define MAX_SAMPLES 512 #ifndef SIMULATOR -#if (HW_SAMPR_CAPS & SAMPR_CAP_22) /* use 22050Hz if we can */ -#define SAMPLE_RATE SAMPR_22 /* 22050 */ -#else #define SAMPLE_RATE SAMPR_44 /* 44100 */ -#endif /* Some of the pp based targets can't handle too many voices mainly because they have to use 44100Hz sample rate, this could be -- cgit v1.2.3