Fix uninitialized value
ARDOUR::LV2Plugin::init -> lilv_state_restore () -> set_port_value () compares new against current value
This commit is contained in:
parent
b79d47b1b5
commit
240e3e8dc0
|
@ -838,6 +838,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate)
|
||||||
} else {
|
} else {
|
||||||
_shadow_data[i] = 0;
|
_shadow_data[i] = 0;
|
||||||
}
|
}
|
||||||
|
_control_data[i] = _shadow_data[i];
|
||||||
} else {
|
} else {
|
||||||
_defaults[i] = 0.0f;
|
_defaults[i] = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user