From 1f34372abcac269539f7f0617b77788b8a16447e Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 9 Jan 2016 17:53:47 -0600 Subject: [PATCH] Remove the upper limit on midi_voices. - Black MIDIs can be brutal, and there's really no reason that this needs to be artificially limited to a paltry 256 voices. --- src/timidity/timidity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timidity/timidity.cpp b/src/timidity/timidity.cpp index 807bc07b73..440db92111 100644 --- a/src/timidity/timidity.cpp +++ b/src/timidity/timidity.cpp @@ -698,7 +698,7 @@ Renderer::Renderer(float sample_rate, const char *args) if (def_instr_name.IsNotEmpty()) set_default_instrument(def_instr_name); - voices = clamp(midi_voices, 16, 256); + voices = MAX(*midi_voices, 16); voice = new Voice[voices]; drumchannels = DEFAULT_DRUMCHANNELS; }