Corrected a false error message when changing the number of voices
This commit is contained in:
parent
1601ff6afe
commit
725bda2af8
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ sfizz_lv2_check_num_voices(sfizz_plugin_t* self)
|
||||||
num_voices_atom.body = num_voices;
|
num_voices_atom.body = num_voices;
|
||||||
if (self->worker->schedule_work(self->worker->handle,
|
if (self->worker->schedule_work(self->worker->handle,
|
||||||
lv2_atom_total_size((LV2_Atom *)&num_voices_atom),
|
lv2_atom_total_size((LV2_Atom *)&num_voices_atom),
|
||||||
&num_voices_atom) == LV2_WORKER_SUCCESS)
|
&num_voices_atom) != LV2_WORKER_SUCCESS)
|
||||||
{
|
{
|
||||||
lv2_log_error(&self->logger, "[sfizz] There was an issue changing the number of voices\n");
|
lv2_log_error(&self->logger, "[sfizz] There was an issue changing the number of voices\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue