Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hydrumkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
hydrumkit
Commits
c1957262
Commit
c1957262
authored
6 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Increase number of voices to 64
parent
a438797f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugin/plugin.c
+3
-1
3 additions, 1 deletion
plugin/plugin.c
with
3 additions
and
1 deletion
plugin/plugin.c
+
3
−
1
View file @
c1957262
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment