mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
initialize some uninitialized variables
This commit is contained in:
parent
28bb82cee7
commit
a66ad18402
2 changed files with 4 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ instantiate(const LV2_Descriptor* descriptor,
|
|||
const char* bundle_path,
|
||||
const LV2_Feature* const* features)
|
||||
{
|
||||
Aeq* aeq = (Aeq*)malloc(sizeof(Aeq));
|
||||
Aeq* aeq = (Aeq*)calloc(1, sizeof(Aeq));
|
||||
aeq->srate = rate;
|
||||
|
||||
#ifdef LV2_EXTENDED
|
||||
|
|
@ -142,6 +142,8 @@ instantiate(const LV2_Descriptor* descriptor,
|
|||
for (int i = 0; i < BANDS; i++)
|
||||
linear_svf_reset(&aeq->v_filter[i]);
|
||||
|
||||
// TODO initialize self->v_
|
||||
|
||||
aeq->need_expose = true;
|
||||
#ifdef LV2_EXTENDED
|
||||
aeq->display = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue