diff options
Diffstat (limited to 'apps/plugins/midi/midiutil.h')
-rw-r--r-- | apps/plugins/midi/midiutil.h | 5 |
1 files changed, 1 insertions, 4 deletions
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 @@ | |||
25 | 25 | ||
26 | #define BUF_SIZE 16384 /* 64 kB output buffers */ | 26 | #define BUF_SIZE 16384 /* 64 kB output buffers */ |
27 | #define NBUF 2 | 27 | #define NBUF 2 |
28 | #define MAX_SAMPLES 512 | ||
28 | 29 | ||
29 | #ifndef SIMULATOR | 30 | #ifndef SIMULATOR |
30 | 31 | ||
31 | #if (HW_SAMPR_CAPS & SAMPR_CAP_22) /* use 22050Hz if we can */ | ||
32 | #define SAMPLE_RATE SAMPR_22 /* 22050 */ | ||
33 | #else | ||
34 | #define SAMPLE_RATE SAMPR_44 /* 44100 */ | 32 | #define SAMPLE_RATE SAMPR_44 /* 44100 */ |
35 | #endif | ||
36 | 33 | ||
37 | /* Some of the pp based targets can't handle too many voices | 34 | /* Some of the pp based targets can't handle too many voices |
38 | mainly because they have to use 44100Hz sample rate, this could be | 35 | mainly because they have to use 44100Hz sample rate, this could be |