Commit c1957262 authored by ale's avatar ale

Increase number of voices to 64

parent a438797f
......@@ -29,6 +29,8 @@
#define SAMPLER_OUT_L 2
#define SAMPLER_OUT_R 3
#define NUM_VOICES 64
struct sampler_plugin {
LV2_URID_Map *map;
LV2_Worker_Schedule *schedule;
......@@ -146,7 +148,7 @@ static LV2_Handle instantiate(const LV2_Descriptor *descriptor, double rate,
struct sampler_plugin *plugin =
(struct sampler_plugin *)calloc(1, sizeof(struct sampler_plugin));
plugin->sampler = sampler_new(32, (int)rate);
plugin->sampler = sampler_new(NUM_VOICES, (int)rate);
plugin->samplerate = (int)rate;
// Get host features
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment