Merge pull request #557 from jpcima/lv2-scala-fix
Fix a crash with scala files under LV2
This commit is contained in:
commit
cdc8ead6ce
1 changed files with 2 additions and 2 deletions
|
|
@ -1430,7 +1430,7 @@ work(LV2_Handle instance,
|
|||
else if (atom->type == self->sfizz_scala_file_uri)
|
||||
{
|
||||
const char *scala_file_path = LV2_ATOM_BODY_CONST(atom);
|
||||
if (sfizz_lv2_load_scala_file(self->synth, scala_file_path)) {
|
||||
if (sfizz_lv2_load_scala_file(self, scala_file_path)) {
|
||||
lv2_log_note(&self->logger, "[sfizz] Scala file loaded: %s\n", scala_file_path);
|
||||
} else {
|
||||
lv2_log_error(&self->logger,
|
||||
|
|
@ -1493,7 +1493,7 @@ work(LV2_Handle instance,
|
|||
lv2_log_note(&self->logger,
|
||||
"[sfizz] Scala file %s seems to have been updated, reloading\n",
|
||||
self->scala_file_path);
|
||||
if (sfizz_lv2_load_scala_file(self->synth, self->scala_file_path)) {
|
||||
if (sfizz_lv2_load_scala_file(self, self->scala_file_path)) {
|
||||
lv2_log_note(&self->logger, "[sfizz] Scala file loaded: %s\n", self->scala_file_path);
|
||||
} else {
|
||||
lv2_log_error(&self->logger,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue