Skip to content
Snippets Groups Projects
Commit c1957262 authored by ale's avatar ale
Browse files

Increase number of voices to 64

parent a438797f
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment